Project Date
NLTEST 18 Sep 2020, 04:25

Failures Overview

The following summary displays scenarios that failed.

2.211
Scenario Outline Check dataset record in ngr voor f99e915a-75e5-4c36-97f2-61eff692d85b
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.002
And param id = 'f99e915a-75e5-4c36-97f2-61eff692d85b' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.001
When method get 0.903
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f99e915a-75e5-4c36-97f2-61eff692d85b' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
04:24:54.668 [print] title:Grondwateronderzoek onder INSPIRE
* print title 0.000
04:24:54.668 [print] Grondwateronderzoek onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.027
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.008
* print nlinks 0.000
04:24:54.704 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "f99e915a-75e5-4c36-97f2-61eff692d85b" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.629
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 324, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:55.335 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 324, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77"
}
> * print "testing xlinkurl: 0.016
04:24:54.724 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:54.725 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77
> Given url link 0.000
> When method HEAD 0.283
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77, response: 
04:24:55.009 status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:24:55.009 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7e290e63-f991-4cc3-beff-1ff08ce2be77, response: 
04:24:55.010 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.010 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.324
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 324, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:55.335 status code was: 500, expected: 200, response time: 324, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.816
Scenario Outline Check dataset record in ngr voor 3703b249-a0eb-484e-ba7a-10e31a55bcec
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.001
And param elementsetname = 'full' 0.002
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.004
When method get 0.734
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.005
* print 'title:' + title 0.002
04:24:54.507 [print] title:Invasieve Exoten (INSPIRE Geharmoniseerd)
* print title 0.001
04:24:54.509 [print] Invasieve Exoten (INSPIRE Geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.065
* print nlinks 0.000
04:24:54.575 [print] [
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec",
  "579"
]
* def id = "3703b249-a0eb-484e-ba7a-10e31a55bcec" 0.013
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.993
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec}, {link=579}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 454, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:55.583 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:24:54.592 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:54.592 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.523
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"
}
> * print "testing xlinkurl: 0.000
04:24:55.118 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.120 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec
> Given url link 0.000
> When method HEAD 0.454
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 454, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec, response: 
04:24:55.574 status code was: 500, expected: 200, response time: 454, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "579"
}
> * print "testing xlinkurl: 0.000
04:24:55.575 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 454, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec, response: 
04:24:55.576 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.576 [print] testing xlinkurl:579
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:55.580 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 579
04:24:55.581 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.286
Scenario Outline Check dataset record in ngr voor 3a72b9a4-cda9-11ea-87d0-0242ac130003
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.611
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.013
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.002
04:24:54.400 [print] title:Grondwater Monitoring Net
* print title 0.000
04:24:54.400 [print] Grondwater Monitoring Net
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.004
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.002
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.166
* print nlinks 0.000
04:24:54.577 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "3a72b9a4-cda9-11ea-87d0-0242ac130003" 0.008
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.735
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:55.321 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"
}
> * print "testing xlinkurl: 0.000
04:24:54.588 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:54.588 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003
> Given url link 0.000
> When method HEAD 0.298
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003, response: 
04:24:54.887 status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.011
04:24:54.888 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003, response: 
04:24:54.900 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:54.901 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.419
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:55.320 status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
7.017
Scenario Outline Check dataset record in ngr voor 247a1d15-0a67-40ce-85be-1403c08f15a8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.844
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:54.619 [print] title:Nationale Parken (INSPIRE Geharmoniseerd)
* print title 0.000
04:24:54.619 [print] Nationale Parken (INSPIRE Geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.012
* print nlinks 0.002
04:24:54.635 [print] [
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "247a1d15-0a67-40ce-85be-1403c08f15a8" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 3.077
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 505, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:24:57.716 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 505, url: https://data.overheid.nl/organisatie/PDOK, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.009
04:24:54.650 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:54.650 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.516
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8"
}
> * print "testing xlinkurl: 0.000
04:24:55.168 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.170 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8
> Given url link 0.000
> When method HEAD 0.215
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.002
04:24:55.389 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:24:55.391 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.552
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.003
04:24:55.948 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.949 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.496
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"
}
> * print "testing xlinkurl: 0.000
04:24:56.448 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.449 [print] testing xlinkurl:xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
04:24:56.450 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps, http call failed after 0 milliseconds for URL: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
04:24:56.451 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.003
04:24:56.452 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
04:24:56.456 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.456 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.257
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 505, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:24:57.716 status code was: 404, expected: 200, response time: 505, url: https://data.overheid.nl/organisatie/PDOK, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.372
Scenario Outline Check dataset record in ngr voor 8f45b8ef-0ce8-463a-9059-5efdcecb785c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.574
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.044
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.003
04:24:55.950 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* print title 0.000
04:24:55.951 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.005
04:24:55.963 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
]
* def id = "8f45b8ef-0ce8-463a-9059-5efdcecb785c" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.332 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.003
04:24:55.972 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.972 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.349
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
}
> * print "testing xlinkurl: 0.004
04:24:56.328 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.329 [print] testing xlinkurl:http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.330 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
04:24:56.331 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.366
Scenario Outline Check dataset record in ngr voor 6c06740d-058f-4a12-bb3f-bf68efd03d09
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.605
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:55.952 [print] title:Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* print title 0.000
04:24:55.952 [print] Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.003
04:24:55.963 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
]
* def id = "6c06740d-058f-4a12-bb3f-bf68efd03d09" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.371
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.337 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.002
04:24:55.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:55.973 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.352
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
}
> * print "testing xlinkurl: 0.006
04:24:56.333 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.334 [print] testing xlinkurl:http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.335 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
04:24:56.336 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.705
Scenario Outline Check dataset record in ngr voor af0c582f-9e6b-46e6-865a-fc3a2d5289b9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.587
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
04:24:56.151 [print] title:Bodemgebruik
* print title 0.000
04:24:56.151 [print] Bodemgebruik
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:24:56.158 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
]
* def id = "af0c582f-9e6b-46e6-865a-fc3a2d5289b9" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.051
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:24:56.212 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
}
> * print "testing xlinkurl: 0.004
04:24:56.167 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.168 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
> Given url link 0.000
> When method HEAD 0.043
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:24:56.211 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 42 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
04:24:56.211 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.719
Scenario Outline Check dataset record in ngr voor 9d9f1738-aced-47c9-aaa0-c62474a2dcfb
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.638
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.018
04:24:56.228 [print] title:Zeegebieden
* print title 0.002
04:24:56.230 [print] Zeegebieden
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.017
04:24:56.255 [print] [
  "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
]
* def id = "9d9f1738-aced-47c9-aaa0-c62474a2dcfb" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.018
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.276 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
}
> * print "testing xlinkurl: 0.003
04:24:56.273 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.274 [print] testing xlinkurl:http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.275 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
04:24:56.276 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.340
Scenario Outline Check dataset record in ngr voor 31de946d-85d4-4c93-bb97-e25f4ef1401a
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.658
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.008
* print 'title:' + title 0.000
04:24:56.256 [print] title:Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* print title 0.000
04:24:56.256 [print] Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.002
* print nlinks 0.000
04:24:56.265 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
]
* def id = "31de946d-85d4-4c93-bb97-e25f4ef1401a" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.335
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.602 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:24:56.281 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.281 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.314
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
}
> * print "testing xlinkurl: 0.001
04:24:56.598 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.599 [print] testing xlinkurl:http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:56.601 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
04:24:56.602 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.181
Scenario Outline Check dataset record in ngr voor 3a7dd0a6-d130-4c4c-b0ba-24365cf036e2
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.577
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:56.795 [print] title:Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* print title 0.000
04:24:56.796 [print] Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:24:56.800 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
]
* def id = "3a7dd0a6-d130-4c4c-b0ba-24365cf036e2" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.297
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:57.101 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:24:56.806 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.807 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.287
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
}
> * print "testing xlinkurl: 0.002
04:24:57.099 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.100 [print] testing xlinkurl:http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:57.100 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
04:24:57.101 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
4.872
Scenario Outline Check dataset record in ngr voor 24de356e-ec4d-4a18-9903-6401d222b77c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.008
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '24de356e-ec4d-4a18-9903-6401d222b77c' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.598
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '24de356e-ec4d-4a18-9903-6401d222b77c' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:56.947 [print] title:Vergunningen Mijnbouwwet onder INSPIRE
* print title 0.000
04:24:56.949 [print] Vergunningen Mijnbouwwet onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.006
* print nlinks 0.000
04:24:56.958 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "24de356e-ec4d-4a18-9903-6401d222b77c" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.127
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 297, url: https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 656, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:59.091 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"
}
> * print "testing xlinkurl: 0.000
04:24:56.968 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.969 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024
> Given url link 0.000
> When method HEAD 0.297
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 297, url: https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024, response: 
04:24:57.267 status code was: 404, expected: 200, response time: 297, url: https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:24:57.267 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 297, url: https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024, response: 
04:24:57.269 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.269 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.657
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 656, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:24:57.926 status code was: 404, expected: 200, response time: 656, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:24:57.927 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 656, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:24:57.928 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.928 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.847
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:24:58.775 status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
04:24:58.776 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:24:58.777 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.778 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.312
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:59.091 status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.618
Scenario Outline Check dataset record in ngr voor b3f66964-a8c1-456f-9799-9cafca2cb7b1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.539
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.007
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
04:24:56.890 [print] title:Monitoring stations (Nitraatrichtlijn) ondiepe filters
* print title 0.000
04:24:56.891 [print] Monitoring stations (Nitraatrichtlijn) ondiepe filters
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.006
* print nlinks 0.001
04:24:56.902 [print] [
  "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
]
* def id = "b3f66964-a8c1-456f-9799-9cafca2cb7b1" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.526
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:57.433 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
}
> * print "testing xlinkurl: 0.004
04:24:56.909 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:56.913 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
> Given url link 0.000
> When method HEAD 0.519
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:57.432 javax.net.ssl.SSLException: Connection reset, http call failed after 518 milliseconds for URL: https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
04:24:57.432 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.598
Scenario Outline Check dataset record in ngr voor 81ff84ec-42a4-4481-840b-12713bbb5d38
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.567
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.005
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:57.183 [print] title:Geografische Namen
* print title 0.000
04:24:57.183 [print] Geografische Namen
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:24:57.187 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
]
* def id = "81ff84ec-42a4-4481-840b-12713bbb5d38" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.008
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:57.199 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
}
> * print "testing xlinkurl: 0.001
04:24:57.194 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.194 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:57.196 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
04:24:57.197 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.667
Scenario Outline Check dataset record in ngr voor a7fb2234-f7b4-4a03-b282-f10947f42fb1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.525
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:57.638 [print] title:Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* print title 0.000
04:24:57.638 [print] Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.005
* print nlinks 0.001
04:24:57.647 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a7fb2234-f7b4-4a03-b282-f10947f42fb1" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.562
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 439, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 408, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:59.212 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"
}
> * print "testing xlinkurl: 0.001
04:24:57.654 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.655 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac
> Given url link 0.000
> When method HEAD 0.440
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 439, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac, response: 
04:24:58.096 status code was: 404, expected: 200, response time: 439, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.000
04:24:58.096 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 439, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac, response: 
04:24:58.097 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.097 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
04:24:58.298 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:24:58.298 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
04:24:58.299 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.300 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.602
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 408, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:24:58.902 status code was: 404, expected: 200, response time: 408, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:24:58.902 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 408, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:24:58.903 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.904 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:24:59.212 status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.287
Scenario Outline Check dataset record in ngr voor c7662717-9e43-4367-a344-723d73abbb3e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7662717-9e43-4367-a344-723d73abbb3e' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.513
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7662717-9e43-4367-a344-723d73abbb3e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
04:24:57.695 [print] title:-Gegevens boormonsterprofiel onder PDOK
* print title 0.000
04:24:57.696 [print] -Gegevens boormonsterprofiel onder PDOK
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.005
* print nlinks 0.001
04:24:57.704 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
]
* def id = "c7662717-9e43-4367-a344-723d73abbb3e" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.380
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 363, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e, response: 
04:24:58.087 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 363, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
}
> * print "testing xlinkurl: 0.001
04:24:57.712 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.010
04:24:57.722 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e
> Given url link 0.000
> When method HEAD 0.364
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 363, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e, response: 
04:24:58.087 status code was: 404, expected: 200, response time: 363, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.296
Scenario Outline Check dataset record in ngr voor 8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.010
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.522
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:57.973 [print] title:Emissies naar het riool in 2011 vanuit de industrie
* print title 0.000
04:24:57.973 [print] Emissies naar het riool in 2011 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:24:57.979 [print] [
  "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
]
* def id = "8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f" 0.010
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.371
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:58.361 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
}
> * print "testing xlinkurl: 0.001
04:24:57.993 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:57.994 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
> Given url link 0.000
> When method HEAD 0.366
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:58.361 javax.net.ssl.SSLException: Connection reset, http call failed after 366 milliseconds for URL: https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
04:24:58.361 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.172
Scenario Outline Check dataset record in ngr voor 03671a9e-6aaf-464d-be99-9aad25cef9e3
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.521
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
04:24:58.244 [print] title:Habitatrichtlijn verspreidingsgebied van habitattypen
* print title 0.000
04:24:58.244 [print] Habitatrichtlijn verspreidingsgebied van habitattypen
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:24:58.249 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
]
* def id = "03671a9e-6aaf-464d-be99-9aad25cef9e3" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.820
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3, response: 
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"
}
> * print "testing xlinkurl: 0.000
04:24:58.255 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.255 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3
> Given url link 0.000
> When method HEAD 0.287
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3, response: 
04:24:58.543 status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:24:58.544 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3, response: 
04:24:58.545 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.545 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.526
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.594
Scenario Outline Check dataset record in ngr voor 29d5310f-dd0d-45ba-abad-b4ffc6b8785f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:24:58.635 [print] title:TOP10NL
* print title 0.000
04:24:58.636 [print] TOP10NL
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:24:58.640 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201",
  "",
  "",
  "",
  "",
  ""
]
* def id = "29d5310f-dd0d-45ba-abad-b4ffc6b8785f" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.021
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b201}, {link=}, {link=}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.665 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"
}
> * print "testing xlinkurl: 0.007
04:24:58.654 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.654 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:58.656 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
04:24:58.656 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:24:58.656 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:58.657 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.657 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.658 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:24:58.658 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:24:58.659 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.659 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.660 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.660 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:24:58.660 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:24:58.660 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.661 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.661 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.662 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:24:58.662 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:24:58.662 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.663 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.663 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.663 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:24:58.663 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:24:58.664 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.664 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.665 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:24:58.665 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:24:58.665 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.243
Scenario Outline Check dataset record in ngr voor 32a21114-8694-40ce-ab76-9dcd885c7861
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '32a21114-8694-40ce-ab76-9dcd885c7861' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.506
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32a21114-8694-40ce-ab76-9dcd885c7861' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:58.873 [print] title:Kwaliteit van drinkwater in Nederland (2012)
* print title 0.000
04:24:58.874 [print] Kwaliteit van drinkwater in Nederland (2012)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:24:58.876 [print] [
  "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
]
* def id = "32a21114-8694-40ce-ab76-9dcd885c7861" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:59.244 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
}
> * print "testing xlinkurl: 0.001
04:24:58.881 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:58.882 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:24:59.244 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
04:24:59.244 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.369
Scenario Outline Check dataset record in ngr voor fe45c540-e37d-11e4-b571-0800200c9a66
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.352
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.006
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.032 [print] title:Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* print title 0.000
04:24:59.032 [print] Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:37 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "fe45c540-e37d-11e4-b571-0800200c9a66" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
2.395
Scenario Outline Check dataset record in ngr voor b6ee58a1-b097-4c6d-8600-eb81efc1468c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.577
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.621 [print] title:Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* print title 0.000
04:24:59.621 [print] Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:24:59.623 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "b6ee58a1-b097-4c6d-8600-eb81efc1468c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.908
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 114, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:00.534 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
04:24:59.633 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
04:24:59.636 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c"
}
> * print "testing xlinkurl: 0.000
04:24:59.930 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.931 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c
> Given url link 0.000
> When method HEAD 0.479
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:00.412 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.413 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.115
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 114, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:00.529 status code was: 404, expected: 200, response time: 114, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:00.530 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 114, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:00.532 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.533 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:00.533 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:00.533 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.165
Scenario Outline Check dataset record in ngr voor 791adbe3-772f-42cb-a3be-5a617bcecef0
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.559
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.638 [print] title:Zeegebieden (INSPIRE geharmoniseerd)
* print title 0.000
04:24:59.638 [print] Zeegebieden (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:24:59.640 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
]
* def id = "791adbe3-772f-42cb-a3be-5a617bcecef0" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.298
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:59.944 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
04:24:59.649 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.650 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.286
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
}
> * print "testing xlinkurl: 0.003
04:24:59.941 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.942 [print] testing xlinkurl:http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:24:59.943 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
04:24:59.943 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.504
Scenario Outline Check dataset record in ngr voor db8d613f-5edc-4467-9cc0-e2dcfb9d64a8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.576
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.673 [print] title:Statistical Units Grid
* print title 0.000
04:24:59.673 [print] Statistical Units Grid
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:24:59.676 [print] [
  "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs",
  ""
]
* def id = "db8d613f-5edc-4467-9cc0-e2dcfb9d64a8" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.459
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 448, url: https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:00.140 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"
}
> * print "testing xlinkurl: 0.000
04:24:59.684 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.684 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs
> Given url link 0.000
> When method HEAD 0.449
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 448, url: https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs, response: 
04:25:00.134 status code was: 400, expected: 200, response time: 448, url: https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
04:25:00.134 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 448, url: https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs, response: 
04:25:00.137 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.138 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:00.139 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:00.140 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.407
Scenario Outline Check dataset record in ngr voor 2cc2c30c-91b8-412a-a060-e84d25272581
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2cc2c30c-91b8-412a-a060-e84d25272581' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.658
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2cc2c30c-91b8-412a-a060-e84d25272581' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.759 [print] title:Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* print title 0.000
04:24:59.760 [print] Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.003
04:24:59.765 [print] [
  "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
]
* def id = "2cc2c30c-91b8-412a-a060-e84d25272581" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.370
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:00.138 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
}
> * print "testing xlinkurl: 0.001
04:24:59.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.774 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
> Given url link 0.000
> When method HEAD 0.363
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:00.138 javax.net.ssl.SSLException: Connection reset, http call failed after 362 milliseconds for URL: https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
04:25:00.138 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.272
Scenario Outline Check dataset record in ngr voor 83dab947-387b-49df-8ad2-32bb10d46d38
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '83dab947-387b-49df-8ad2-32bb10d46d38' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.595
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '83dab947-387b-49df-8ad2-32bb10d46d38' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:24:59.814 [print] title:Geluidkaart Schiphol 2016 (Lden)
* print title 0.000
04:24:59.815 [print] Geluidkaart Schiphol 2016 (Lden)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:24:59.818 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
]
* def id = "83dab947-387b-49df-8ad2-32bb10d46d38" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.333
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38, response: 
04:25:00.153 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
}
> * print "testing xlinkurl: 0.004
04:24:59.826 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.827 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38
> Given url link 0.000
> When method HEAD 0.325
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38, response: 
04:25:00.153 status code was: 500, expected: 200, response time: 325, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.224
Scenario Outline Check dataset record in ngr voor 5951efa2-1ff3-4763-a966-a2f5497679ee
Steps
Given path 'geonetwork/srv/dut/inspire' 0.004
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.598
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.015
* print 'title:' + title 0.000
04:24:59.865 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* print title 0.000
04:24:59.865 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:24:59.868 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
]
* def id = "5951efa2-1ff3-4763-a966-a2f5497679ee" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.304
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:00.174 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:24:59.879 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:24:59.879 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.290
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
}
> * print "testing xlinkurl: 0.000
04:25:00.171 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.172 [print] testing xlinkurl:http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:00.173 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
04:25:00.173 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.325
Scenario Outline Check dataset record in ngr voor f2f86edf-ac3a-48e8-9292-0544da2d7645
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.567
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:00.516 [print] title:Emissies naar het riool in 2015 vanuit de industrie
* print title 0.000
04:25:00.517 [print] Emissies naar het riool in 2015 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:00.519 [print] [
  "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
]
* def id = "f2f86edf-ac3a-48e8-9292-0544da2d7645" 0.006
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.379
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:00.906 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
}
> * print "testing xlinkurl: 0.002
04:25:00.544 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.544 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:00.905 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
04:25:00.906 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.688
Scenario Outline Check dataset record in ngr voor 5a1adb58-0bbe-425d-b0fe-577a6c0a4228
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.626
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:00.774 [print] title:Actueel Hoogtebestand Nederland 1 (AHN1)
* print title 0.000
04:25:00.774 [print] Actueel Hoogtebestand Nederland 1 (AHN1)
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:00.782 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "5a1adb58-0bbe-425d-b0fe-577a6c0a4228" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.523
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.307 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228"
}
> * print "testing xlinkurl: 0.001
04:25:00.787 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.788 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.001
04:25:01.100 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.101 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.204
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:01.305 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:01.305 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:01.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.307 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.307 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:01.307 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
14.608
Scenario Outline Check dataset record in ngr voor 50eef6be-619d-4e16-9b92-48971109b636
Steps
Given path 'geonetwork/srv/dut/inspire' 0.005
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50eef6be-619d-4e16-9b92-48971109b636' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.720
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50eef6be-619d-4e16-9b92-48971109b636' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:00.871 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* print title 0.000
04:25:00.871 [print] Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.005
04:25:00.880 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "50eef6be-619d-4e16-9b92-48971109b636" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 6.938
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 332, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:07.820 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636"
}
> * print "testing xlinkurl: 0.000
04:25:00.890 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.890 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636
> Given url link 0.000
> When method HEAD 0.374
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
04:25:01.267 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.268 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.470 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49"
}
> * print "testing xlinkurl: 0.000
04:25:01.470 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.471 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.471 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49
> Given url link 0.000
> When method HEAD 6.013
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:07.486 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.486 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.332
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 332, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:07.819 status code was: 500, expected: 200, response time: 332, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:07.819 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 332, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:07.820 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.820 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:07.820 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:07.820 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.480
Scenario Outline Check dataset record in ngr voor 8de2f5eb-b09f-4f6d-8397-8878a1b86238
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.761
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:00.920 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* print title 0.000
04:25:00.921 [print] Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.003
04:25:00.926 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "8de2f5eb-b09f-4f6d-8397-8878a1b86238" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.858
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 318, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.789 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.001
04:25:00.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:00.936 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.317
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
04:25:01.255 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.256 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.457 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:01.457 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.458 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.458 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.318
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 318, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.777 status code was: 500, expected: 200, response time: 318, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
04:25:01.778 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 318, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.780 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.780 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.780 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:01.781 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.253
Scenario Outline Check dataset record in ngr voor 9b583730-e750-485a-9c0c-39bf9be72cf9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9b583730-e750-485a-9c0c-39bf9be72cf9' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.510
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9b583730-e750-485a-9c0c-39bf9be72cf9' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:00.694 [print] title:Geluidbelasting rijkswegen in Nederland 2006 (24-uurs gemiddelde)
* print title 0.000
04:25:00.694 [print] Geluidbelasting rijkswegen in Nederland 2006 (24-uurs gemiddelde)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:00.697 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "9b583730-e750-485a-9c0c-39bf9be72cf9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.866
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.566 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf9"
}
> * print "testing xlinkurl: 0.000
04:25:00.702 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:00.703 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf9
> Given url link 0.000
> When method HEAD 0.330
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.011
04:25:01.046 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.047 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.249 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.001
04:25:01.249 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.252 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.252 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.311
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.564 status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:01.564 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.565 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.566 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:01.566 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:01.566 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.437
Scenario Outline Check dataset record in ngr voor 9b583730-e750-485a-9c0c-39bf9be72cf8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9b583730-e750-485a-9c0c-39bf9be72cf8' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.410
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9b583730-e750-485a-9c0c-39bf9be72cf8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:00.956 [print] title:Geluidbelasting rijkswegen in Nederland 2016 (24-uurs gemiddelde)
* print title 0.000
04:25:00.956 [print] Geluidbelasting rijkswegen in Nederland 2016 (24-uurs gemiddelde)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:00.958 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf8",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "9b583730-e750-485a-9c0c-39bf9be72cf8" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.006
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf8}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 473, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.969 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 473, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf8"
}
> * print "testing xlinkurl: 0.001
04:25:00.966 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:00.967 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/9b583730-e750-485a-9c0c-39bf9be72cf8
> Given url link 0.000
> When method HEAD 0.324
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
04:25:01.293 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.294 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.494 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:01.494 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:01.495 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.495 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.473
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 473, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:01.969 status code was: 500, expected: 200, response time: 473, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.912
Scenario Outline Check dataset record in ngr voor tbjk534p-wubf-crbp-cj25-d4161160gfim
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:01.467 [print] title:Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* print title 0.000
04:25:01.468 [print] Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:01.471 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "tbjk534p-wubf-crbp-cj25-d4161160gfim" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.176
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 493, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:02.649 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 493, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim"
}
> * print "testing xlinkurl: 0.007
04:25:01.485 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.485 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim
> Given url link 0.000
> When method HEAD 0.460
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
04:25:01.948 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:01.948 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:02.150 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.003
04:25:02.151 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:02.154 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.155 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.493
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 493, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:02.649 status code was: 500, expected: 200, response time: 493, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
4.054
Scenario Outline Check dataset record in ngr voor eu-cb527d-f6db-4835-b0cd-deb245241254
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.671
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.005
* print 'title:' + title 0.002
04:25:01.994 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* print title 0.000
04:25:01.994 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.002
04:25:01.999 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "eu-cb527d-f6db-4835-b0cd-deb245241254" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.683
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 437, url: http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 311, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:03.685 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 311, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254"
}
> * print "testing xlinkurl: 0.000
04:25:02.004 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:02.006 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254
> Given url link 0.000
> When method HEAD 0.507
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
04:25:02.515 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.515 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:02.717 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"
}
> * print "testing xlinkurl: 0.000
04:25:02.717 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:02.718 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.719 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60
> Given url link 0.000
> When method HEAD 0.648
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 437, url: http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60, response: 
04:25:03.368 status code was: 404, expected: 200, response time: 437, url: http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:03.368 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 437, url: http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60, response: 
04:25:03.370 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:03.372 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.312
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 311, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:03.684 status code was: 500, expected: 200, response time: 311, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.964
Scenario Outline Check dataset record in ngr voor be1b1514-8d1f-48e1-9624-fee9b784138b
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.841
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
04:25:02.419 [print] title:Vaarwegmarkeringen Nederland
* print title 0.000
04:25:02.419 [print] Vaarwegmarkeringen Nederland
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.002
04:25:02.424 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "be1b1514-8d1f-48e1-9624-fee9b784138b" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.553
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:02.982 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b"
}
> * print "testing xlinkurl: 0.000
04:25:02.431 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.432 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b
> Given url link 0.000
> When method HEAD 0.334
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.005
04:25:02.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:02.774 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:02.977 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.002
04:25:02.978 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:02.981 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.982 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:02.982 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:02.982 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.723
Scenario Outline Check dataset record in ngr voor 1a40eb6f-4f33-4e15-a0b1-2d350ad2636e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.701
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
04:25:02.498 [print] title:Geografische Namen (INSPIRE geharmoniseerd)
* print title 0.000
04:25:02.499 [print] Geografische Namen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:02.502 [print] [
  "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
]
* def id = "1a40eb6f-4f33-4e15-a0b1-2d350ad2636e" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:02.510 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
}
> * print "testing xlinkurl: 0.000
04:25:02.508 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:02.508 [print] testing xlinkurl:http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:02.509 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
04:25:02.510 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.410
Scenario Outline Check dataset record in ngr voor 9dd9bf30-36e6-45ae-b368-bdef2720bdde
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.566
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:03.085 [print] title:Bodemkundig boormonsterprofiel onder INSPIRE
* print title 0.001
04:25:03.086 [print] Bodemkundig boormonsterprofiel onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:03.091 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "9dd9bf30-36e6-45ae-b368-bdef2720bdde" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.419
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 287, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:04.512 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"
}
> * print "testing xlinkurl: 0.001
04:25:03.096 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:03.097 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd
> Given url link 0.000
> When method HEAD 0.287
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 287, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd, response: 
04:25:03.386 status code was: 404, expected: 200, response time: 287, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.001
04:25:03.388 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 287, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd, response: 
04:25:03.390 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:03.391 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
04:25:03.593 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:25:03.593 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/16, response: 
04:25:03.594 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:03.594 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.595
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:04.190 status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
04:25:04.192 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:04.193 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.194 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.315
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:04.509 status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.367
Scenario Outline Check dataset record in ngr voor edf79e6a-d73d-4def-8d22-0f495cc76a73
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.360
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:03.016 [print] title:Bronbestanden waterkwaliteit
* print title 0.000
04:25:03.016 [print] Bronbestanden waterkwaliteit
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:37 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "edf79e6a-d73d-4def-8d22-0f495cc76a73" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
2.168
Scenario Outline Check dataset record in ngr voor 88f76a94-ee4d-4e0c-9fde-91b692403e39
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.007
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:03.535 [print] title:Natuurbranden
* print title 0.000
04:25:03.535 [print] Natuurbranden
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:03.538 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "88f76a94-ee4d-4e0c-9fde-91b692403e39" 0.009
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.807
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:04.354 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.002
04:25:03.557 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:03.558 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39"
}
> * print "testing xlinkurl: 0.001
04:25:03.857 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:03.857 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39
> Given url link 0.000
> When method HEAD 0.438
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:04.298 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.299 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.048
> Then status 200 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:04.352 status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:04.352 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:04.353 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.353 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:04.354 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:04.354 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.446
Scenario Outline Check dataset record in ngr voor 3e57ce43-7707-43ed-a4b9-72b3a6d812f8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.523
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:03.545 [print] title:Geluidkaart hoofdspoornet 2011 (Lnight)
* print title 0.000
04:25:03.545 [print] Geluidkaart hoofdspoornet 2011 (Lnight)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:03.547 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
]
* def id = "3e57ce43-7707-43ed-a4b9-72b3a6d812f8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.458
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 449, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8, response: 
04:25:04.008 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 449, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
}
> * print "testing xlinkurl: 0.003
04:25:03.554 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:03.556 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8
> Given url link 0.000
> When method HEAD 0.450
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 449, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8, response: 
04:25:04.007 status code was: 500, expected: 200, response time: 449, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.987
Scenario Outline Check dataset record in ngr voor c2225e5d-b46f-4e38-8445-ab10fd40c0dc
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.549
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:03.954 [print] title:Blokindeling Nederlands Continentaal Plat
* print title 0.001
04:25:03.956 [print] Blokindeling Nederlands Continentaal Plat
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:03.960 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
]
* def id = "c2225e5d-b46f-4e38-8445-ab10fd40c0dc" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.714
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 323, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc, response: 
04:25:04.676 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 323, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
04:25:03.966 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:03.967 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.374
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
}
> * print "testing xlinkurl: 0.010
04:25:04.352 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.352 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc
> Given url link 0.000
> When method HEAD 0.323
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 323, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc, response: 
04:25:04.676 status code was: 500, expected: 200, response time: 323, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.583
Scenario Outline Check dataset record in ngr voor 7939fd42-cf88-42c5-ab3b-232cf232a3ac
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.526
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:04.540 [print] title:Actueel Hoogtebestand Nederland 2 (AHN2)
* print title 0.000
04:25:04.540 [print] Actueel Hoogtebestand Nederland 2 (AHN2)
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:04.544 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "7939fd42-cf88-42c5-ab3b-232cf232a3ac" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.524
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:05.071 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac"
}
> * print "testing xlinkurl: 0.000
04:25:04.549 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.550 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac
> Given url link 0.000
> When method HEAD 0.312
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
04:25:04.864 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.865 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:05.067 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
04:25:05.068 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:05.070 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.070 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:05.071 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:05.071 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.398
Scenario Outline Check dataset record in ngr voor 6c1cf452-8c62-4046-99ab-640a5e184f9c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.569
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:04.927 [print] title:Geologisch booronderzoek onder INSPIRE
* print title 0.000
04:25:04.928 [print] Geologisch booronderzoek onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:04.929 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6c1cf452-8c62-4046-99ab-640a5e184f9c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.412
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:06.344 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"
}
> * print "testing xlinkurl: 0.000
04:25:04.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:04.934 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f
> Given url link 0.000
> When method HEAD 0.283
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f, response: 
04:25:05.217 status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.007
04:25:05.217 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 283, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f, response: 
04:25:05.226 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.227 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:05.427 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:25:05.427 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:05.428 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.429 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.594
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:06.023 status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:25:06.023 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:06.024 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.024 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.319
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:06.344 status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.677
Scenario Outline Check dataset record in ngr voor eu-f297898-2640-44c2-bbe9-c0480da83794
Steps
Given path 'geonetwork/srv/dut/inspire' 0.005
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.595
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:05.119 [print] title:Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* print title 0.000
04:25:05.119 [print] Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:05.122 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-f297898-2640-44c2-bbe9-c0480da83794" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.536
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:05.660 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794"
}
> * print "testing xlinkurl: 0.000
04:25:05.129 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.129 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794
> Given url link 0.000
> When method HEAD 0.324
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.000
04:25:05.456 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:05.457 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
04:25:05.658 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:05.658 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
04:25:05.659 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.659 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:05.660 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:05.660 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.583
Scenario Outline Check dataset record in ngr voor c5c4a6d6-b850-473c-8ab5-af9c2c550809
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.563
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:05.244 [print] title:Administratieve Eenheden
* print title 0.000
04:25:05.245 [print] Administratieve Eenheden
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:05.251 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
]
* def id = "c5c4a6d6-b850-473c-8ab5-af9c2c550809" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:05.258 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
}
> * print "testing xlinkurl: 0.000
04:25:05.255 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.256 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:05.257 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
04:25:05.257 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.778
Scenario Outline Check dataset record in ngr voor be6551de-a709-4c6d-a5e2-f63f0cf038ba
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.545
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:05.624 [print] title:Amplitude van het getij op de Noordzee
* print title 0.000
04:25:05.625 [print] Amplitude van het getij op de Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:05.628 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
]
* def id = "be6551de-a709-4c6d-a5e2-f63f0cf038ba" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.611
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba, response: 
04:25:06.241 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:05.633 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.633 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
}
> * print "testing xlinkurl: 0.000
04:25:05.926 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.927 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba
> Given url link 0.000
> When method HEAD 0.314
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba, response: 
04:25:06.241 status code was: 500, expected: 200, response time: 313, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.773
Scenario Outline Check dataset record in ngr voor 6050578f-0010-4bfa-b013-c8617b80ba62
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6050578f-0010-4bfa-b013-c8617b80ba62' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.552
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6050578f-0010-4bfa-b013-c8617b80ba62' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:05.816 [print] title:Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* print title 0.001
04:25:05.818 [print] Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:05.820 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6050578f-0010-4bfa-b013-c8617b80ba62" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.606
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:06.428 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"
}
> * print "testing xlinkurl: 0.000
04:25:05.825 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:05.825 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218
> Given url link 0.000
> When method HEAD 0.285
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218, response: 
04:25:06.111 status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:25:06.111 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 285, url: https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218, response: 
04:25:06.112 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.113 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.315
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:06.428 status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.222
Scenario Outline Check dataset record in ngr voor a5f961e9-ebdd-41e2-b8e8-ab33ed340a83
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.543
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:06.216 [print] title:Adressen (INSPIRE geharmoniseerd)
* print title 0.000
04:25:06.216 [print] Adressen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:06.218 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
]
* def id = "a5f961e9-ebdd-41e2-b8e8-ab33ed340a83" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.333
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:06.553 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:06.225 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.225 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
}
> * print "testing xlinkurl: 0.001
04:25:06.518 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.519 [print] testing xlinkurl:http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
> Given url link 0.000
> When method HEAD 0.034
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:06.552 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 33 milliseconds for URL: http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
04:25:06.553 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.296
Scenario Outline Check dataset record in ngr voor 08b27bf0-e34a-4b30-9eac-5edadfb6a288
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:06.652 [print] title:Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* print title 0.000
04:25:06.653 [print] Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:06.655 [print] [
  "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
]
* def id = "08b27bf0-e34a-4b30-9eac-5edadfb6a288" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:07.023 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
}
> * print "testing xlinkurl: 0.000
04:25:06.660 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.660 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
> Given url link 0.000
> When method HEAD 0.362
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:07.023 javax.net.ssl.SSLException: Connection reset, http call failed after 362 milliseconds for URL: https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
04:25:07.023 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.385
Scenario Outline Check dataset record in ngr voor daa63e4c-dce6-11e3-991e-901b0e19e163
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.537
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:06.784 [print] title:Gecontroleerde klimatologische daggegevens KNMI Nederland
* print title 0.000
04:25:06.784 [print] Gecontroleerde klimatologische daggegevens KNMI Nederland
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.005
* print nlinks 0.001
04:25:06.792 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "daa63e4c-dce6-11e3-991e-901b0e19e163" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.419
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 92, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:07.216 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 92, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"
}
> * print "testing xlinkurl: 0.000
04:25:06.805 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.805 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e
> Given url link 0.000
> When method HEAD 0.315
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e, response: 
04:25:07.121 status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:07.121 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e, response: 
04:25:07.122 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.122 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.092
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 92, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:07.216 status code was: 404, expected: 200, response time: 92, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.638
Scenario Outline Check dataset record in ngr voor a29917b9-3426-4041-a11b-69bcb2256904
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a29917b9-3426-4041-a11b-69bcb2256904' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.352
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a29917b9-3426-4041-a11b-69bcb2256904' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:06.704 [print] title:Kadastrale kaart v4
* print title 0.000
04:25:06.705 [print] Kadastrale kaart v4
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.024
* print nlinks 0.000
04:25:06.730 [print] [
  "h",
  "t",
  "t",
  "p",
  "s",
  ":",
  "/",
  "/",
  "w",
  "w",
  "w",
  ".",
  "n",
  "a",
  "t",
  "i",
  "o",
  "n",
  "a",
  "a",
  "l",
  "g",
  "e",
  "o",
  "r",
  "e",
  "g",
  "i",
  "s",
  "t",
  "e",
  "r",
  ".",
  "n",
  "l",
  ":",
  "4",
  "4",
  "3",
  "/",
  "g",
  "e",
  "o",
  "n",
  "e",
  "t",
  "w",
  "o",
  "r",
  "k",
  "/",
  "s",
  "r",
  "v",
  "/",
  "e",
  "n",
  "g",
  "/",
  "t",
  "h",
  "e",
  "s",
  "a",
  "u",
  "r",
  "u",
  "s",
  ".",
  "d",
  "o",
  "w",
  "n",
  "l",
  "o",
  "a",
  "d",
  "?",
  "r",
  "e",
  "f",
  "=",
  "e",
  "x",
  "t",
  "e",
  "r",
  "n",
  "a",
  "l",
  ".",
  "t",
  "h",
  "e",
  "m",
  "e",
  ".",
  "h",
  "t",
  "t",
  "p",
  "i",
  "n",
  "s",
  "p",
  "i",
  "r",
  "e",
  "e",
  "c",
  "e",
  "u",
  "r",
  "o",
  "p",
  "a",
  "e",
  "u",
  "t",
  "h",
  "e",
  "m",
  "e",
  "-",
  "t",
  "h",
  "e",
  "m",
  "e"
]
* def id = "a29917b9-3426-4041-a11b-69bcb2256904" 0.006
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.740
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=s}, {link=:}, {link=/}, {link=/}, {link=w}, {link=w}, {link=w}, {link=.}, {link=n}, {link=a}, {link=t}, {link=i}, {link=o}, {link=n}, {link=a}, {link=a}, {link=l}, {link=g}, {link=e}, {link=o}, {link=r}, {link=e}, {link=g}, {link=i}, {link=s}, {link=t}, {link=e}, {link=r}, {link=.}, {link=n}, {link=l}, {link=:}, {link=4}, {link=4}, {link=3}, {link=/}, {link=g}, {link=e}, {link=o}, {link=n}, {link=e}, {link=t}, {link=w}, {link=o}, {link=r}, {link=k}, {link=/}, {link=s}, {link=r}, {link=v}, {link=/}, {link=e}, {link=n}, {link=g}, {link=/}, {link=t}, {link=h}, {link=e}, {link=s}, {link=a}, {link=u}, {link=r}, {link=u}, {link=s}, {link=.}, {link=d}, {link=o}, {link=w}, {link=n}, {link=l}, {link=o}, {link=a}, {link=d}, {link=?}, {link=r}, {link=e}, {link=f}, {link==}, {link=e}, {link=x}, {link=t}, {link=e}, {link=r}, {link=n}, {link=a}, {link=l}, {link=.}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=.}, {link=h}, {link=t}, {link=t}, {link=p}, {link=i}, {link=n}, {link=s}, {link=p}, {link=i}, {link=r}, {link=e}, {link=e}, {link=c}, {link=e}, {link=u}, {link=r}, {link=o}, {link=p}, {link=a}, {link=e}, {link=u}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=-}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.473 feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.003
04:25:06.742 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.742 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.743 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:06.744 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:06.744 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.745 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.746 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.746 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:06.746 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:06.747 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.748 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.749 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.749 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:06.750 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
04:25:06.753 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.754 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.755 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.756 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
04:25:06.756 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:06.758 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.758 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.759 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.759 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:06.760 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:06.760 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.761 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.761 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:06.762 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:06.763 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:06.764 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.765 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.790 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:06.791 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.003
04:25:06.792 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.796 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.797 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.801 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:06.801 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.001
04:25:06.802 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.804 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.805 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.807 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
04:25:06.808 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.007
04:25:06.808 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.817 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.817 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.818 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
04:25:06.818 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
04:25:06.819 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.820 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.820 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.821 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
04:25:06.821 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.001
04:25:06.821 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.823 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.824 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:06.826 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:06.826 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.828 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.828 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.829 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:06.830 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.009
04:25:06.830 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.841 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.841 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.841 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:06.841 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:06.842 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.849 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.849 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.850 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:06.851 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:06.851 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.853 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.853 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.853 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:06.853 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:06.853 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.854 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.854 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.855 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:06.855 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:06.855 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.855 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.856 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.856 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:06.856 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.004
04:25:06.856 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.861 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.862 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.869 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:06.869 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:06.870 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.870 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.870 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.871 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:06.871 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.009
04:25:06.871 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.881 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.881 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.882 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:06.882 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:06.882 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.883 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.883 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.883 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:06.883 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:06.883 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.884 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.884 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:06.884 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:06.884 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.885 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.885 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.885 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:06.886 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:06.886 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.886 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.887 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:06.887 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:06.887 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.888 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.888 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.888 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:06.888 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:06.888 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.901 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.901 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.909 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:06.909 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:06.909 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.910 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.910 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:06.910 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:06.910 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.911 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.911 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.912 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:06.912 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
04:25:06.912 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.914 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.914 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.914 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:06.914 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.008
04:25:06.914 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.923 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.924 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.926 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:06.926 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.003
04:25:06.926 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.930 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.930 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.931 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:06.931 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
04:25:06.931 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.932 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.932 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.933 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:06.933 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:06.933 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.934 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.934 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:06.934 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.006
04:25:06.935 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.941 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.942 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.942 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:06.942 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:06.942 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.943 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.005
04:25:06.949 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:06.949 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.000
04:25:06.949 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:06.950 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.950 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.950 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
04:25:06.950 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.005
04:25:06.951 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.956 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.957 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.957 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
04:25:06.957 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
04:25:06.957 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.958 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.958 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.961 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
04:25:06.961 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:06.961 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.962 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.962 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.966 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:06.966 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.002
04:25:06.966 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.969 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.969 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.970 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:06.970 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:06.976 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.977 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
04:25:06.981 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.982 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:06.982 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
04:25:06.989 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.990 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.991 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.991 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:06.991 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:06.991 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:06.992 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:06.992 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.019
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.008 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:07.012 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.012 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.013 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.013 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.014 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.014 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.014 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.015 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.015 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.015 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.015 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
04:25:07.015 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.016 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.016 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.016 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
04:25:07.016 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
04:25:07.016 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:07.043 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.043 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:07.044 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
04:25:07.044 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.047 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.048 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.048 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.049 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "k"
}
> * print "testing xlinkurl: 0.001
04:25:07.050 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.053 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.053 [print] testing xlinkurl:k
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.054 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: k
04:25:07.054 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.002
04:25:07.056 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.058 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.059 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.059 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:07.060 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
04:25:07.060 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.063 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.063 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.064 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:07.064 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.003
04:25:07.065 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.069 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.069 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.069 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.002
04:25:07.070 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.072 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.073 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.073 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
04:25:07.074 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.004
04:25:07.074 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.079 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.079 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.080 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:07.080 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.080 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.081 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.082 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.082 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.082 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:07.083 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.084 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.084 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.085 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:07.085 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:07.089 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.090 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.091 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.091 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:07.092 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:07.092 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.093 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.094 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.094 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:07.095 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
04:25:07.097 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.099 [print]
> * def link = __arg.link 0.011
> * print "testing xlinkurl:" + link 0.000
04:25:07.111 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.112 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.113 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
04:25:07.115 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.119 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.120 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.121 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:07.122 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.122 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.123 [print]
> * def link = __arg.link 0.005
> * print "testing xlinkurl:" + link 0.000
04:25:07.129 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.130 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.130 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.003
04:25:07.130 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.134 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.135 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.135 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:07.135 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.002
04:25:07.136 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.139 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.139 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.140 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:07.140 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.002
04:25:07.140 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.143 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.143 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.144 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:07.144 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:07.144 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.147 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.147 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.149 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.149 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.001
04:25:07.149 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.151 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.152 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.152 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:07.153 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:07.155 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.155 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.156 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.157 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:07.158 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
04:25:07.160 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.160 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.161 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.162 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:07.162 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.001
04:25:07.163 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.165 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.165 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.167 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:07.167 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
04:25:07.168 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.170 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.170 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.171 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:07.172 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
04:25:07.172 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.180 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.181 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.182 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
04:25:07.183 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.001
04:25:07.184 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.185 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.186 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.187 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:07.188 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:07.189 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.190 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.190 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.191 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:07.192 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:07.193 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.194 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.195 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.196 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:07.197 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:07.198 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.200 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.201 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:07.202 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
04:25:07.203 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.204 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.205 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.206 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:07.206 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "?"
}
> * print "testing xlinkurl: 0.000
04:25:07.208 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.211 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.212 [print] testing xlinkurl:?
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.213 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: ?
04:25:07.214 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
04:25:07.223 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.226 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.227 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.228 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.229 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.001
04:25:07.230 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.231 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:07.233 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.234 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.234 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
04:25:07.236 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.237 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.237 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.238 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
04:25:07.239 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "="
}
> * print "testing xlinkurl: 0.000
04:25:07.240 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.241 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.242 [print] testing xlinkurl:=
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.243 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: =
04:25:07.244 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.245 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.247 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.248 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.249 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
04:25:07.250 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.251 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.252 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.253 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
04:25:07.253 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.255 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.256 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.256 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.257 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.258 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.259 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.260 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.261 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.262 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.262 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:07.264 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.265 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.265 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.268 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.269 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:07.270 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.271 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.271 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.273 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:07.273 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:07.274 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.275 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.276 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.277 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:07.278 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:07.280 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.281 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.281 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.282 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:07.282 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
04:25:07.283 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.284 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.284 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.285 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:07.285 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.286 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.287 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.287 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.288 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.288 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
04:25:07.289 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.290 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.290 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.291 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:07.291 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.292 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.292 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.293 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.294 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.295 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.001
04:25:07.295 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.297 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.297 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.298 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:07.298 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.298 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.300 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.300 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.301 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.301 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
04:25:07.302 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.303 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.303 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.304 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:07.304 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
04:25:07.305 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.306 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.306 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:07.307 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.308 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.308 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.309 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.309 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.310 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
04:25:07.311 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.313 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.321 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.321 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
04:25:07.321 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.322 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.323 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.323 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
04:25:07.324 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[101] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:07.324 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.325 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.325 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.326 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:07.326 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[102] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:07.327 feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.328 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.330 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:07.330 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[103] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:07.331 feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.332 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.332 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.333 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:07.333 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[104] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
04:25:07.334 feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.335 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.335 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.009
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.345 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
04:25:07.345 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[105] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:07.346 feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.347 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.347 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.348 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:07.348 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[106] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:07.349 feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.350 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.350 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.351 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.351 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[107] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.352 feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.352 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.353 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.354 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.354 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[108] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.355 feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.355 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.356 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.357 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.357 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[109] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
04:25:07.358 feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.359 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.359 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.360 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:07.360 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[110] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:07.360 feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.361 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.362 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.362 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.363 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[111] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.004
04:25:07.363 feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.368 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.016
04:25:07.385 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.385 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:07.385 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[112] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.011
04:25:07.385 feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.397 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.397 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.398 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:07.398 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[113] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:07.398 feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.399 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.399 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.399 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:07.399 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[114] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
04:25:07.399 feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.400 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.400 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.400 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
04:25:07.400 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[115] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.006
04:25:07.400 feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.407 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.407 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.408 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:07.408 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[116] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
04:25:07.409 feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.009
04:25:07.421 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.422 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.422 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[117] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
04:25:07.423 feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.424 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.424 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.425 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:07.425 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[118] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.426 feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.427 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.427 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.428 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.428 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[119] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
04:25:07.431 feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.432 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.432 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.433 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:07.433 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[120] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.001
04:25:07.433 feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.435 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.435 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.435 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.435 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[121] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:07.437 feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.438 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.438 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.438 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:07.438 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[122] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
04:25:07.438 feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.441 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.007
04:25:07.449 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.449 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.449 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[123] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "-"
}
> * print "testing xlinkurl: 0.001
04:25:07.449 feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.451 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.451 [print] testing xlinkurl:-
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.452 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: -
04:25:07.452 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[124] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:07.453 feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.453 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.454 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.454 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:07.455 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[125] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
04:25:07.455 feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.456 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.456 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.457 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:07.457 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[126] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
04:25:07.457 feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.459 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.459 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.460 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.460 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[127] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:07.460 feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.460 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.462 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.462 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:07.462 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[128] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.010
04:25:07.462 feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.473 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.473 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:07.473 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:07.473 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.337
Scenario Outline Check dataset record in ngr voor 588a4cb1-b442-4ac1-87e4-40401e353166
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '588a4cb1-b442-4ac1-87e4-40401e353166' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.563
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '588a4cb1-b442-4ac1-87e4-40401e353166' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.004
04:25:07.001 [print] title:Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* print title 0.000
04:25:07.001 [print] Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:07.003 [print] [
  "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
]
* def id = "588a4cb1-b442-4ac1-87e4-40401e353166" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.382
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:07.387 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
}
> * print "testing xlinkurl: 0.004
04:25:07.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.012 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
> Given url link 0.000
> When method HEAD 0.374
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:07.387 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
04:25:07.387 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.915
Scenario Outline Check dataset record in ngr voor 07575774-57a1-4419-bab4-6c88fdeb02b2
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.537
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:07.098 [print] title:Hydrografie waterschappen INSPIRE
* print title 0.000
04:25:07.098 [print] Hydrografie waterschappen INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:07.100 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/ETRS89",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
]
* def id = "07575774-57a1-4419-bab4-6c88fdeb02b2" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.694
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/ETRS89}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 366, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2, response: 
04:25:07.799 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 366, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/ETRS89"
}
> * print "testing xlinkurl: 0.003
04:25:07.115 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.118 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/ETRS89
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
}
> * print "testing xlinkurl: 0.009
04:25:07.421 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.421 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2
> Given url link 0.000
> When method HEAD 0.366
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 366, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2, response: 
04:25:07.798 status code was: 500, expected: 200, response time: 366, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.572
Scenario Outline Check dataset record in ngr voor 29c17585-e702-463f-a5dc-99d34b17d333
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29c17585-e702-463f-a5dc-99d34b17d333' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.526
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29c17585-e702-463f-a5dc-99d34b17d333' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:07.556 [print] title:RDinfo
* print title 0.000
04:25:07.556 [print] RDinfo
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.005
* print nlinks 0.000
04:25:07.563 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
]
* def id = "29c17585-e702-463f-a5dc-99d34b17d333" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.016
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:07.584 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
}
> * print "testing xlinkurl: 0.010
04:25:07.581 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.581 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:07.583 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
04:25:07.583 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.189
Scenario Outline Check dataset record in ngr voor 14657c9b-91e4-4355-8563-2911ad0e78e4
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.566
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.013
* print 'title:' + title 0.004
04:25:07.805 [print] title:Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* print title 0.000
04:25:07.805 [print] Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:07.807 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
]
* def id = "14657c9b-91e4-4355-8563-2911ad0e78e4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.300
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:08.114 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:07.816 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:07.816 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
}
> * print "testing xlinkurl: 0.000
04:25:08.110 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.111 [print] testing xlinkurl:http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:08.112 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
04:25:08.113 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.312
Scenario Outline Check dataset record in ngr voor 58d39928-f502-48c9-a8c1-03244dc181bf
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58d39928-f502-48c9-a8c1-03244dc181bf' 0.016
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.591
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58d39928-f502-48c9-a8c1-03244dc181bf' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:07.999 [print] title:Geluidkaart Schiphol 2016 (Lnight)
* print title 0.000
04:25:07.999 [print] Geluidkaart Schiphol 2016 (Lnight)
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:08.003 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
]
* def id = "58d39928-f502-48c9-a8c1-03244dc181bf" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.350
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 342, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf, response: 
04:25:08.356 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 342, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
}
> * print "testing xlinkurl: 0.000
04:25:08.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.013 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf
> Given url link 0.000
> When method HEAD 0.343
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 342, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf, response: 
04:25:08.356 status code was: 500, expected: 200, response time: 342, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.751
Scenario Outline Check dataset record in ngr voor adn73c4a-ef03-4785-b7f6-942e86b385f7
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.665
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:08.152 [print] title:Bathymetrie Nederland - binnenwateren
* print title 0.000
04:25:08.152 [print] Bathymetrie Nederland - binnenwateren
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:08.158 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.537
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:08.698 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.005
04:25:08.168 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.169 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.320
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
04:25:08.492 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.492 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:08.694 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.002
04:25:08.694 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:08.697 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.697 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:08.698 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:08.698 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.206
Scenario Outline Check dataset record in ngr voor 25294679-adb9-4c39-a93b-6954ff9414ac
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '25294679-adb9-4c39-a93b-6954ff9414ac' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.750
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25294679-adb9-4c39-a93b-6954ff9414ac' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:08.340 [print] title:Waterstanden en afvoeren verwacht - Rijkswaterstaat
* print title 0.002
04:25:08.342 [print] Waterstanden en afvoeren verwacht - Rijkswaterstaat
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:08.347 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "25294679-adb9-4c39-a93b-6954ff9414ac" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.724
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:09.076 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac"
}
> * print "testing xlinkurl: 0.000
04:25:08.355 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.355 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.001
04:25:08.665 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.666 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:08.867 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
04:25:08.867 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:08.869 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.869 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:09.071 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
04:25:09.071 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:09.073 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.075 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:09.076 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:09.076 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.453
Scenario Outline Check dataset record in ngr voor f8d840bc-18df-4449-b797-b9adcb81d3ec
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.657
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.003
04:25:08.489 [print] title:Emissies naar lucht en water in 2015 vanuit de industrie
* print title 0.004
04:25:08.494 [print] Emissies naar lucht en water in 2015 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.002
* print nlinks 0.000
04:25:08.500 [print] [
  "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
]
* def id = "f8d840bc-18df-4449-b797-b9adcb81d3ec" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.386
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:08.891 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
}
> * print "testing xlinkurl: 0.000
04:25:08.507 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.508 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
> Given url link 0.000
> When method HEAD 0.382
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:08.890 javax.net.ssl.SSLException: Connection reset, http call failed after 381 milliseconds for URL: https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
04:25:08.890 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.225
Scenario Outline Check dataset record in ngr voor b4ae622c-6201-49d8-bd2e-f7fce9206a1e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.567
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:08.687 [print] title:Gebouwen (INSPIRE geharmoniseerd)
* print title 0.000
04:25:08.687 [print] Gebouwen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.007
* print nlinks 0.000
04:25:08.696 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
]
* def id = "b4ae622c-6201-49d8-bd2e-f7fce9206a1e" 0.009
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.319
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.025 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.005
04:25:08.713 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.714 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.295
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
}
> * print "testing xlinkurl: 0.001
04:25:09.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:09.014 [print] testing xlinkurl:http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
> Given url link 0.000
> When method HEAD 0.010
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.024 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
04:25:09.025 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.222
Scenario Outline Check dataset record in ngr voor e80ad426-1392-4349-9f80-14dae5f1bf57
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.613
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:08.976 [print] title:Kadastrale Percelen (INSPIRE geharmoniseerd)
* print title 0.000
04:25:08.977 [print] Kadastrale Percelen (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:08.980 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
]
* def id = "e80ad426-1392-4349-9f80-14dae5f1bf57" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.301
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.283 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
04:25:08.985 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:08.986 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.290
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
}
> * print "testing xlinkurl: 0.000
04:25:09.279 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.280 [print] testing xlinkurl:http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.282 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
04:25:09.282 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.647
Scenario Outline Check dataset record in ngr voor 74aca3eb-c38b-4214-9537-e0abc69e11b5
Steps
Given path 'geonetwork/srv/dut/inspire' 0.002
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.596
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:09.301 [print] title:Luchtfoto 2017 25cm RGB open data
* print title 0.000
04:25:09.302 [print] Luchtfoto 2017 25cm RGB open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:09.306 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017",
  "",
  "",
  ""
]
* def id = "74aca3eb-c38b-4214-9537-e0abc69e11b5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.024
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b017}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.332 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"
}
> * print "testing xlinkurl: 0.002
04:25:09.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.314 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.315 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
04:25:09.315 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:09.316 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:09.317 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.317 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.318 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:09.318 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.003
04:25:09.319 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.323 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.323 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.324 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:09.324 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:09.328 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.330 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.330 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.331 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:09.331 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.385
Scenario Outline Check dataset record in ngr voor d9baa847-4652-4588-abe1-0b050f40f27f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.646
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:09.392 [print] title:Ziekenhuizen in Nederland (september 2013)
* print title 0.000
04:25:09.393 [print] Ziekenhuizen in Nederland (september 2013)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:09.397 [print] [
  "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
]
* def id = "d9baa847-4652-4588-abe1-0b050f40f27f" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:09.765 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
}
> * print "testing xlinkurl: 0.000
04:25:09.402 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.402 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
> Given url link 0.000
> When method HEAD 0.362
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:09.765 javax.net.ssl.SSLException: Connection reset, http call failed after 361 milliseconds for URL: https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
04:25:09.765 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.902
Scenario Outline Check dataset record in ngr voor 3387ef8a-9237-453a-aa4e-585d1e193550
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3387ef8a-9237-453a-aa4e-585d1e193550' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.572
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3387ef8a-9237-453a-aa4e-585d1e193550' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:09.470 [print] title:Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* print title 0.001
04:25:09.471 [print] Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.008
* print nlinks 0.001
04:25:09.482 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl"
]
* def id = "3387ef8a-9237-453a-aa4e-585d1e193550" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.656
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:10.141 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:09.487 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.488 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550"
}
> * print "testing xlinkurl: 0.000
04:25:09.782 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.782 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550
> Given url link 0.000
> When method HEAD 0.321
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:10.105 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.105 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.035
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:10.140 status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.174
Scenario Outline Check dataset record in ngr voor 58e7dc38-a498-4852-b4ef-908f5baa9056
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.001
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.583
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:09.616 [print] title:Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* print title 0.000
04:25:09.617 [print] Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:09.620 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "58e7dc38-a498-4852-b4ef-908f5baa9056" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.790
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 40, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.413 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:09.625 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.626 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.286
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056"
}
> * print "testing xlinkurl: 0.014
04:25:09.928 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.928 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056
> Given url link 0.000
> When method HEAD 0.439
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:10.369 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.369 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.041
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 40, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:10.411 status code was: 404, expected: 200, response time: 40, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:10.411 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 40, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:10.412 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.412 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.413 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:10.413 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.128
Scenario Outline Check dataset record in ngr voor cf69ec50-9849-4afd-853c-ee56211d336d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.628
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.003
04:25:09.717 [print] title:Waterstanden en afvoeren actueel - Rijkswaterstaat
* print title 0.000
04:25:09.718 [print] Waterstanden en afvoeren actueel - Rijkswaterstaat
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:09.721 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "cf69ec50-9849-4afd-853c-ee56211d336d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.750
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:10.473 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d"
}
> * print "testing xlinkurl: 0.006
04:25:09.741 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.742 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d
> Given url link 0.000
> When method HEAD 0.318
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
04:25:10.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.067 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:10.268 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
04:25:10.268 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:10.270 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.270 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:10.472 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:10.472 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/28, response: 
04:25:10.473 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.473 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:10.473 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:10.473 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.164
Scenario Outline Check dataset record in ngr voor ed960299-a147-4c1a-bc57-41ff83a2264f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.400
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:09.694 [print] title:Bodemkaart50000_versie2014
* print title 0.000
04:25:09.695 [print] Bodemkaart50000_versie2014
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.004
04:25:09.702 [print] [
  "h",
  "t",
  "t",
  "p",
  ":",
  "/",
  "/",
  "s",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  ".",
  "i",
  "s",
  "o",
  ".",
  "o",
  "r",
  "g",
  "/",
  "i",
  "t",
  "t",
  "f",
  "/",
  "P",
  "u",
  "b",
  "l",
  "i",
  "c",
  "l",
  "y",
  "A",
  "v",
  "a",
  "i",
  "l",
  "a",
  "b",
  "l",
  "e",
  "S",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  "/",
  "I",
  "S",
  "O",
  "_",
  "1",
  "9",
  "1",
  "3",
  "9",
  "_",
  "S",
  "c",
  "h",
  "e",
  "m",
  "a",
  "s",
  "/",
  "r",
  "e",
  "s",
  "o",
  "u",
  "r",
  "c",
  "e",
  "s",
  "/",
  "u",
  "o",
  "m",
  "/",
  "g",
  "m",
  "x",
  "U",
  "o",
  "m",
  ".",
  "x",
  "m",
  "l",
  "#",
  "m"
]
* def id = "ed960299-a147-4c1a-bc57-41ff83a2264f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.420
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=:}, {link=/}, {link=/}, {link=s}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=.}, {link=i}, {link=s}, {link=o}, {link=.}, {link=o}, {link=r}, {link=g}, {link=/}, {link=i}, {link=t}, {link=t}, {link=f}, {link=/}, {link=P}, {link=u}, {link=b}, {link=l}, {link=i}, {link=c}, {link=l}, {link=y}, {link=A}, {link=v}, {link=a}, {link=i}, {link=l}, {link=a}, {link=b}, {link=l}, {link=e}, {link=S}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=/}, {link=I}, {link=S}, {link=O}, {link=_}, {link=1}, {link=9}, {link=1}, {link=3}, {link=9}, {link=_}, {link=S}, {link=c}, {link=h}, {link=e}, {link=m}, {link=a}, {link=s}, {link=/}, {link=r}, {link=e}, {link=s}, {link=o}, {link=u}, {link=r}, {link=c}, {link=e}, {link=s}, {link=/}, {link=u}, {link=o}, {link=m}, {link=/}, {link=g}, {link=m}, {link=x}, {link=U}, {link=o}, {link=m}, {link=.}, {link=x}, {link=m}, {link=l}, {link=#}, {link=m}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.120 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
04:25:09.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.707 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.709 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:09.714 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.008
04:25:09.715 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.724 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.725 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.726 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.727 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:09.728 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.729 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.730 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.731 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.732 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.001
04:25:09.733 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.735 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.736 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.737 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
04:25:09.738 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:09.739 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.740 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.741 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:09.743 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:09.745 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:09.746 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.746 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.748 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:09.748 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:09.749 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.750 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.751 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.752 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:09.753 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:09.754 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.756 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.757 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:09.757 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
04:25:09.759 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.760 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.760 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.761 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.762 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.001
04:25:09.769 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.771 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.771 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.772 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.773 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:09.773 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.774 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:09.776 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.776 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:09.777 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.001
04:25:09.777 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.779 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.780 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.780 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:09.780 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.002
04:25:09.781 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.783 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.784 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.784 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.784 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:09.784 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.786 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
04:25:09.788 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.789 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:09.789 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
04:25:09.789 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.790 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.790 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.791 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:09.791 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
04:25:09.793 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.795 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.795 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.796 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:09.796 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.004
04:25:09.796 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.800 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.801 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.801 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:09.801 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:09.801 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.802 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.802 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.802 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:09.802 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.001
04:25:09.803 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.805 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.805 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.805 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:09.806 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
04:25:09.806 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.808 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.808 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.808 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:09.808 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.002
04:25:09.809 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.813 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.813 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.813 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:09.814 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:09.814 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.815 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:09.816 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.816 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:09.816 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.003
04:25:09.816 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.820 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.820 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.821 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:09.821 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:09.821 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.821 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.822 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.822 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:09.822 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:09.822 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.823 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.823 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:09.823 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:09.823 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.824 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.824 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.824 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:09.824 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.017
04:25:09.825 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.842 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.843 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.846 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.846 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
04:25:09.846 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.848 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.848 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.849 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.849 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
04:25:09.849 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.850 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.850 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.850 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
04:25:09.850 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:09.851 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.851 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.851 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.852 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:09.852 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.001
04:25:09.852 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.853 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.853 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.854 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
04:25:09.854 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
04:25:09.854 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.855 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.855 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.855 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:09.855 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.002
04:25:09.855 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.858 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.858 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.858 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
04:25:09.858 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:09.861 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.862 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.862 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.869 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:09.869 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
04:25:09.869 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.870 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.870 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.870 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:09.870 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
04:25:09.870 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.871 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.872 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.872 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:09.872 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.001
04:25:09.873 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.875 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.875 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.876 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:09.876 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "y"
}
> * print "testing xlinkurl: 0.000
04:25:09.876 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.877 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.878 [print] testing xlinkurl:y
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.878 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: y
04:25:09.878 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "A"
}
> * print "testing xlinkurl: 0.000
04:25:09.878 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.879 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.879 [print] testing xlinkurl:A
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.880 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: A
04:25:09.880 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.000
04:25:09.880 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.880 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.881 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.881 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
04:25:09.881 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.001
04:25:09.881 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.887 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.887 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.888 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.001
04:25:09.888 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.889 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.890 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.890 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
04:25:09.891 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:09.891 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.892 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.892 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.893 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:09.893 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:09.893 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.895 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.895 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.896 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.896 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.000
04:25:09.896 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.897 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.897 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.897 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
04:25:09.897 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:09.897 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.898 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.898 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:09.898 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:09.899 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.900 [print]
> * def link = __arg.link 0.004
> * print "testing xlinkurl:" + link 0.002
04:25:09.906 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.908 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:09.909 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
04:25:09.909 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.911 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.018
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.911 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
04:25:09.929 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.004
04:25:09.929 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.934 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.934 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
04:25:09.934 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:09.935 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.935 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.935 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.936 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.936 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:09.936 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.937 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.949 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:09.949 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.007
04:25:09.950 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.957 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.958 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.961 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:09.961 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:09.961 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.962 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.963 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.963 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:09.963 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:09.963 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.964 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.964 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.965 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:09.965 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.001
04:25:09.966 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.968 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.968 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.968 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:09.968 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
04:25:09.969 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.971 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.971 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.972 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:09.972 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.002
04:25:09.972 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.974 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.974 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.977 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:09.977 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "I"
}
> * print "testing xlinkurl: 0.000
04:25:09.977 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.977 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.978 [print] testing xlinkurl:I
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.978 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: I
04:25:09.978 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
04:25:09.978 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.979 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.979 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.980 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
04:25:09.980 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "O"
}
> * print "testing xlinkurl: 0.001
04:25:09.980 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.982 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.982 [print] testing xlinkurl:O
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.982 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: O
04:25:09.983 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.000
04:25:09.983 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.984 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.984 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.987 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
04:25:09.987 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.000
04:25:09.987 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.988 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.988 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.988 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
04:25:09.988 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.005
04:25:09.988 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.993 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.994 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.994 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
04:25:09.994 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.000
04:25:09.994 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.995 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.995 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.995 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
04:25:09.995 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
04:25:09.995 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.996 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.996 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.996 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
04:25:09.996 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.000
04:25:09.996 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.997 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.997 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.998 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
04:25:09.998 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.000
04:25:09.998 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.998 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:09.999 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:09.999 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
04:25:09.999 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
04:25:09.999 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.000 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.000 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.000 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
04:25:10.000 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.005
04:25:10.000 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.006 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.006 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.006 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:10.006 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
04:25:10.006 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.007 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.007 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.007 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
04:25:10.007 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:10.007 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.008 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.008 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.009 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:10.009 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.009 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.010 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.011 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.011 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.012 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
04:25:10.012 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.013 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.013 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.014 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
04:25:10.015 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
04:25:10.015 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.017 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.018 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.018 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:10.018 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:10.018 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.019 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.019 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.020 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:10.020 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
04:25:10.020 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.023 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.023 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.024 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:10.024 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:10.024 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.024 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.025 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.025 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:10.025 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:10.025 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.025 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.026 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.026 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:10.026 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:10.026 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.027 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.027 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.027 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:10.027 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.003
04:25:10.027 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.030 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.031 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.031 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:10.031 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:10.032 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.033 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.033 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.036 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:10.036 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.026
04:25:10.036 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.062 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.063 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:10.063 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:10.063 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.063 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.063 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.064 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:10.064 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:10.064 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.064 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.065 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.068 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:10.068 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:10.068 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.069 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.069 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:10.069 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
04:25:10.070 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.070 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.070 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.071 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:10.071 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.005
04:25:10.071 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.077 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.077 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.077 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:10.077 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.077 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.078 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.078 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.078 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.078 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
04:25:10.078 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.079 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.079 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.079 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
04:25:10.079 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:10.079 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.080 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.080 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.080 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:10.081 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.081 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.081 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.081 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.082 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.082 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.006
04:25:10.082 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.089 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.089 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.089 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
04:25:10.089 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "U"
}
> * print "testing xlinkurl: 0.000
04:25:10.089 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.090 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.090 [print] testing xlinkurl:U
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.090 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: U
04:25:10.090 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:10.090 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.091 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.092 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.093 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:10.093 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.093 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.093 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.093 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.094 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.094 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
04:25:10.094 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.094 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.095 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.097 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
04:25:10.097 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
04:25:10.097 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.097 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.098 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.012
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.110 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
04:25:10.110 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.110 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.111 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.111 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.111 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.111 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
04:25:10.111 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.114 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.114 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.114 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
04:25:10.115 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "#"
}
> * print "testing xlinkurl: 0.000
04:25:10.115 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.115 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.115 [print] testing xlinkurl:#
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.116 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: #
04:25:10.116 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
04:25:10.116 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.117 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.117 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:10.120 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
04:25:10.120 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.382
Scenario Outline Check dataset record in ngr voor d24ccb35-e9d2-41bf-b231-43083fc0c76d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.623
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:10.768 [print] title:LCP emissies (Richtlijn Industriële emissies) 2016
* print title 0.000
04:25:10.768 [print] LCP emissies (Richtlijn Industriële emissies) 2016
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:10.770 [print] [
  "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
]
* def id = "d24ccb35-e9d2-41bf-b231-43083fc0c76d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.376
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:11.149 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
}
> * print "testing xlinkurl: 0.000
04:25:10.775 [print]
> * def link = __arg.link 0.005
> * print "testing xlinkurl:" + link 0.000
04:25:10.781 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
> Given url link 0.000
> When method HEAD 0.368
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:11.149 javax.net.ssl.SSLException: Connection reset, http call failed after 367 milliseconds for URL: https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
04:25:11.149 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.289
Scenario Outline Check dataset record in ngr voor 36a7e8cb-8300-4602-93d2-135943365a6f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '36a7e8cb-8300-4602-93d2-135943365a6f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.553
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '36a7e8cb-8300-4602-93d2-135943365a6f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:10.923 [print] title:Monitoring stations (Nitraatrichtlijn) diepe filters
* print title 0.000
04:25:10.923 [print] Monitoring stations (Nitraatrichtlijn) diepe filters
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:10.925 [print] [
  "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
]
* def id = "36a7e8cb-8300-4602-93d2-135943365a6f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:11.292 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
}
> * print "testing xlinkurl: 0.000
04:25:10.930 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:10.932 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:11.292 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
04:25:11.292 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.186
Scenario Outline Check dataset record in ngr voor c3c004ad-5387-4b00-a225-9afbcaa5d31b
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.546
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:10.964 [print] title:Geluidkaart hoofdspoornet 2016 (Lden)
* print title 0.000
04:25:10.965 [print] Geluidkaart hoofdspoornet 2016 (Lden)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.003
04:25:10.967 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
]
* def id = "c3c004ad-5387-4b00-a225-9afbcaa5d31b" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.316
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b, response: 
04:25:11.288 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
}
> * print "testing xlinkurl: 0.000
04:25:10.975 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:10.976 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b
> Given url link 0.000
> When method HEAD 0.310
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b, response: 
04:25:11.287 status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.591
Scenario Outline Check dataset record in ngr voor adn73c4a-ef03-4785-b7f6-942e86b385f5
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.529
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
04:25:11.011 [print] title:Bathymetrie Nederland - kust
* print title 0.000
04:25:11.011 [print] Bathymetrie Nederland - kust
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.002
* print nlinks 0.000
04:25:11.015 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f5" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.528
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:11.546 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5"
}
> * print "testing xlinkurl: 0.000
04:25:11.024 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.025 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5
> Given url link 0.000
> When method HEAD 0.314
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
04:25:11.342 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.342 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:11.544 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:11.544 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/10, response: 
04:25:11.545 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.546 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:11.546 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:11.546 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.110
Scenario Outline Check dataset record in ngr voor 34e95842-4e4e-46de-9198-79e8cd4d30dc
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.526
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:11.681 [print] title:Geografische Namen (Nat) - Nederland
* print title 0.000
04:25:11.681 [print] Geografische Namen (Nat) - Nederland
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:11.686 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
]
* def id = "34e95842-4e4e-46de-9198-79e8cd4d30dc" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.287
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc, response: 
04:25:11.975 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
}
> * print "testing xlinkurl: 0.000
04:25:11.690 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.691 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc
> Given url link 0.000
> When method HEAD 0.284
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc, response: 
04:25:11.975 status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.625
Scenario Outline Check dataset record in ngr voor 3eebf700-5abf-42e4-826c-03cfb497e366
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3eebf700-5abf-42e4-826c-03cfb497e366' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.604
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3eebf700-5abf-42e4-826c-03cfb497e366' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:11.897 [print] title:Vervoersnetwerken
* print title 0.000
04:25:11.897 [print] Vervoersnetwerken
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:11.899 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
]
* def id = "3eebf700-5abf-42e4-826c-03cfb497e366" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:11.905 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
}
> * print "testing xlinkurl: 0.001
04:25:11.905 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.905 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:11.905 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
04:25:11.905 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.623
Scenario Outline Check dataset record in ngr voor afc450bd-65b3-4e59-b0fb-619869bf6ada
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.611
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:11.907 [print] title:Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* print title 0.000
04:25:11.907 [print] Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:11.908 [print] [
  ""
]
* def id = "afc450bd-65b3-4e59-b0fb-619869bf6ada" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.003
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:11.914 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:11.913 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:11.913 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:11.914 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:11.914 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.249
Scenario Outline Check dataset record in ngr voor b59f06c0-dce5-11e3-9c10-901b0e19e163
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.525
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.041 [print] title:Aardbevingen Nederland (KNMI)
* print title 0.000
04:25:12.041 [print] Aardbevingen Nederland (KNMI)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:12.042 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "b59f06c0-dce5-11e3-9c10-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:12.404 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"
}
> * print "testing xlinkurl: 0.000
04:25:12.047 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.047 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4, response: 
04:25:12.357 status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:12.357 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4, response: 
04:25:12.359 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
04:25:12.361 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.039
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:12.402 status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.870
Scenario Outline Check dataset record in ngr voor f44dac86-2228-412f-8355-e56446ca9933
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f44dac86-2228-412f-8355-e56446ca9933' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.518
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f44dac86-2228-412f-8355-e56446ca9933' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.069 [print] title:Gebieden in de Eemsmonding en de Dollard
* print title 0.000
04:25:12.069 [print] Gebieden in de Eemsmonding en de Dollard
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:12.071 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933",
  "www.hydro.nl"
]
* def id = "f44dac86-2228-412f-8355-e56446ca9933" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.674
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933}, {link=www.hydro.nl}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:12.749 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:12.076 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.077 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.346
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"
}
> * print "testing xlinkurl: 0.000
04:25:12.425 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.425 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933
> Given url link 0.000
> When method HEAD 0.315
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933, response: 
04:25:12.742 status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.001
04:25:12.744 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 315, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933, response: 
04:25:12.745 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.746 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:12.747 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
04:25:12.748 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.788
Scenario Outline Check dataset record in ngr voor E7D9F0D6-2B8D-6699-F26E-4A781228F2DD
Steps
Given path 'geonetwork/srv/dut/inspire' 0.003
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.568
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.488 [print] title:BRO REGIS II Hydrogeologisch model (HGM)
* print title 0.000
04:25:12.489 [print] BRO REGIS II Hydrogeologisch model (HGM)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:12.490 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
]
* def id = "E7D9F0D6-2B8D-6699-F26E-4A781228F2DD" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.608
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66, response: 
04:25:13.100 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.001
04:25:12.497 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.498 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.316
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
04:25:12.816 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.816 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.282
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66, response: 
04:25:13.099 status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.688
Scenario Outline Check dataset record in ngr voor 7D35598D-DFBF-C64D-0F1A-92A80A45EB14
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.515
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.435 [print] title:BRO GeoTOP (GTM)
* print title 0.000
04:25:12.435 [print] BRO GeoTOP (GTM)
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:12.440 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
]
* def id = "7D35598D-DFBF-C64D-0F1A-92A80A45EB14" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.584
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66, response: 
04:25:13.025 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.000
04:25:12.444 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.444 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.001
04:25:12.739 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.740 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.281
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66, response: 
04:25:13.022 status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.296
Scenario Outline Check dataset record in ngr voor wt-83730-e750-485a-9c0c-39bf9be72cf8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.576
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.007
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.565 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* print title 0.000
04:25:12.566 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.004
04:25:12.572 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-83730-e750-485a-9c0c-39bf9be72cf8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.855
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 321, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:13.429 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 321, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8"
}
> * print "testing xlinkurl: 0.000
04:25:12.586 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.586 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
04:25:12.902 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.903 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:13.105 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:13.105 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:13.106 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.106 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.321
> Then status 200 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 321, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:13.429 status code was: 500, expected: 200, response time: 321, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.859
Scenario Outline Check dataset record in ngr voor 9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.578
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.777 [print] title:Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
04:25:12.777 [print] Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.018
* print nlinks 0.000
04:25:12.797 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.642
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.442 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:12.819 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.820 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e"
}
> * print "testing xlinkurl: 0.000
04:25:13.113 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.113 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e
> Given url link 0.000
> When method HEAD 0.260
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:13.376 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.377 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.048
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:13.426 status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:13.436 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 48, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:13.438 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.438 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.440 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:13.440 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.435
Scenario Outline Check dataset record in ngr voor 34e6165f-1269-48d1-b255-0f05d163d692
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e6165f-1269-48d1-b255-0f05d163d692' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e6165f-1269-48d1-b255-0f05d163d692' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:12.963 [print] title:Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* print title 0.000
04:25:12.964 [print] Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:12.966 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "34e6165f-1269-48d1-b255-0f05d163d692" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.939
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.907 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:12.970 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:12.971 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.286
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692"
}
> * print "testing xlinkurl: 0.000
04:25:13.260 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.260 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692
> Given url link 0.000
> When method HEAD 0.601
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
04:25:13.864 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:13.865 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:13.901 status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:13.903 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:13.904 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.905 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.906 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:13.906 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.219
Scenario Outline Check dataset record in ngr voor 41023936-009d-48ec-a90d-c966895463c1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '41023936-009d-48ec-a90d-c966895463c1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.507
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '41023936-009d-48ec-a90d-c966895463c1' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:13.264 [print] title:Geluidszones rondom vliegvelden
* print title 0.000
04:25:13.265 [print] Geluidszones rondom vliegvelden
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:13.267 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "41023936-009d-48ec-a90d-c966895463c1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.852
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.121 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:13.271 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.271 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.290
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1"
}
> * print "testing xlinkurl: 0.000
04:25:13.563 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.563 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1
> Given url link 0.000
> When method HEAD 0.514
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:14.079 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.079 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:14.118 status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:14.118 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:14.119 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.120 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.120 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:14.121 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.548
Scenario Outline Check dataset record in ngr voor ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.528
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:13.560 [print] title:Wijk- en Buurtkaart 2018 versie 2
* print title 0.000
04:25:13.561 [print] Wijk- en Buurtkaart 2018 versie 2
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:13.567 [print] [
  ""
]
* def id = "ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.003
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.573 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:13.573 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.573 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:13.573 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:13.573 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.973
Scenario Outline Check dataset record in ngr voor eu-2c7040b-c448-451b-bf15-f2416ecaadd1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.671
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:13.777 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* print title 0.000
04:25:13.778 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:13.781 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-2c7040b-c448-451b-bf15-f2416ecaadd1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.648
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:14.431 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1"
}
> * print "testing xlinkurl: 0.000
04:25:13.785 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:13.786 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1
> Given url link 0.000
> When method HEAD 0.434
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
04:25:14.222 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.222 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:14.424 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
04:25:14.424 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:14.426 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.427 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:14.428 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:14.429 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.293
Scenario Outline Check dataset record in ngr voor fe2f9091-1962-4073-9e3b-3e4aeed488a5
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.003
When method get 0.632
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:14.071 [print] title:Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* print title 0.000
04:25:14.072 [print] Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:14.075 [print] [
  "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf",
  ""
]
* def id = "fe2f9091-1962-4073-9e3b-3e4aeed488a5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.324
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.401 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf"
}
> * print "testing xlinkurl: 0.002
04:25:14.081 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.082 [print] testing xlinkurl:http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:14.397 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.399 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.400 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:14.401 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.697
Scenario Outline Check dataset record in ngr voor 2daad588-11ef-47de-9832-6fe2c3b93e6d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.610
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:14.188 [print] title:Overstromingsrisicokaarten
* print title 0.000
04:25:14.189 [print] Overstromingsrisicokaarten
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:14.192 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "2daad588-11ef-47de-9832-6fe2c3b93e6d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.541
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 53, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.735 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d"
}
> * print "testing xlinkurl: 0.000
04:25:14.196 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:14.197 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d
> Given url link 0.000
> When method HEAD 0.475
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:14.674 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.674 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.053
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 53, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:14.728 status code was: 404, expected: 200, response time: 53, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:14.730 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 53, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:14.731 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.732 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:14.733 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:14.733 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.785
Scenario Outline Check dataset record in ngr voor effe1ab0-073d-437c-af13-df5c5e07d6cd
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.565
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
04:25:14.486 [print] title:CBS gebiedsindelingen
* print title 0.000
04:25:14.487 [print] CBS gebiedsindelingen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:14.490 [print] [
  "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml",
  "https://www.iana.org/assignments/media-types/application/geopackage+sqlite3",
  ""
]
* def id = "effe1ab0-073d-437c-af13-df5c5e07d6cd" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.603
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml}, {link=https://www.iana.org/assignments/media-types/application/geopackage+sqlite3}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:15.095 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml"
}
> * print "testing xlinkurl: 0.000
04:25:14.496 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.497 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml
> Given url link 0.000
> When method HEAD 0.419
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.iana.org/assignments/media-types/application/geopackage+sqlite3"
}
> * print "testing xlinkurl: 0.001
04:25:14.919 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.920 [print] testing xlinkurl:https://www.iana.org/assignments/media-types/application/geopackage+sqlite3
> Given url link 0.000
> When method HEAD 0.173
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:15.094 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.095 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:15.095 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:15.095 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.696
Scenario Outline Check dataset record in ngr voor a5241416-8401-4623-be61-57ef50447a41
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5241416-8401-4623-be61-57ef50447a41' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.524
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5241416-8401-4623-be61-57ef50447a41' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:14.651 [print] title:Maritieme grenzen - Noordzee
* print title 0.000
04:25:14.652 [print] Maritieme grenzen - Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:14.655 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
]
* def id = "a5241416-8401-4623-be61-57ef50447a41" 0.009
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.578
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 276, url: https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41, response: 
04:25:15.243 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 276, url: https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:14.667 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.668 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.295
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
}
> * print "testing xlinkurl: 0.001
04:25:14.966 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:14.966 [print] testing xlinkurl:https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41
> Given url link 0.000
> When method HEAD 0.276
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 276, url: https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41, response: 
04:25:15.242 status code was: 400, expected: 200, response time: 276, url: https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.171
Scenario Outline Check dataset record in ngr voor 11a292bd-9022-4a9f-b1bf-02f5c89ad74a
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:14.717 [print] title:Totale potentie aardwarmte uit aquifers, INSPIRE
* print title 0.000
04:25:14.718 [print] Totale potentie aardwarmte uit aquifers, INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:14.720 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
]
* def id = "11a292bd-9022-4a9f-b1bf-02f5c89ad74a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.305
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 288, url: https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9, response: 
04:25:15.027 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 288, url: https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
}
> * print "testing xlinkurl: 0.012
04:25:14.736 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
04:25:14.738 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9
> Given url link 0.000
> When method HEAD 0.288
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 288, url: https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9, response: 
04:25:15.027 status code was: 404, expected: 200, response time: 288, url: https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.698
Scenario Outline Check dataset record in ngr voor bc2c53f6-c908-4d7c-a6c0-78d9a2855640
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.005
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:14.969 [print] title:Overstromingsgevaarkaarten
* print title 0.000
04:25:14.970 [print] Overstromingsgevaarkaarten
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.003
04:25:14.975 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "bc2c53f6-c908-4d7c-a6c0-78d9a2855640" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.563
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:15.542 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640"
}
> * print "testing xlinkurl: 0.001
04:25:14.982 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:14.983 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640
> Given url link 0.000
> When method HEAD 0.506
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
04:25:15.492 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.493 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.040
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:15.535 status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:15.536 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:15.538 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.539 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:15.540 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:15.541 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.528
Scenario Outline Check dataset record in ngr voor wt-f5eb-b09f-4f6d-8397-8878a1b86238
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.620
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:15.059 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* print title 0.000
04:25:15.059 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:15.064 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-f5eb-b09f-4f6d-8397-8878a1b86238" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.948
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 407, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.014 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 407, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.000
04:25:15.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.069 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.312
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
04:25:15.383 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.383 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:15.586 status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.019
04:25:15.586 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:15.606 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.606 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.407
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 407, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.014 status code was: 500, expected: 200, response time: 407, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.293
Scenario Outline Check dataset record in ngr voor wt-3730-e750-485a-9c0c-39bf9be72cf9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.524
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:15.265 [print] title:Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* print title 0.000
04:25:15.265 [print] Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:15.268 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-3730-e750-485a-9c0c-39bf9be72cf9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.881
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 338, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.151 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 338, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9"
}
> * print "testing xlinkurl: 0.000
04:25:15.272 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.272 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.022
04:25:15.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.609 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:15.809 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.001
04:25:15.809 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:15.811 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.812 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.338
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 338, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.150 status code was: 500, expected: 200, response time: 338, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.225
Scenario Outline Check dataset record in ngr voor 998ba1dc-f6a6-49a3-a021-51f30d9b1d0e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.577
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:15.618 [print] title:Wet Ammoniak en Veehouderij gebieden
* print title 0.000
04:25:15.618 [print] Wet Ammoniak en Veehouderij gebieden
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:15.621 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "998ba1dc-f6a6-49a3-a021-51f30d9b1d0e" 0.016
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.809
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:16.447 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.002
04:25:15.642 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.643 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e"
}
> * print "testing xlinkurl: 0.001
04:25:15.937 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.937 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e
> Given url link 0.000
> When method HEAD 0.465
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:16.404 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.404 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.038
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:16.444 status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:16.444 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:16.445 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.446 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:16.447 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:16.447 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.176
Scenario Outline Check dataset record in ngr voor c7d8d77b-8c47-4309-8c58-9b12b086407f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.524
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.001
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:15.628 [print] title:Natuurnetwerk Nederland
* print title 0.000
04:25:15.629 [print] Natuurnetwerk Nederland
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:15.632 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "c7d8d77b-8c47-4309-8c58-9b12b086407f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.821
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:16.455 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.004
04:25:15.640 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.640 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f"
}
> * print "testing xlinkurl: 0.003
04:25:15.936 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.001
04:25:15.939 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f
> Given url link 0.000
> When method HEAD 0.466
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:16.407 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.407 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.042
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:16.450 status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
04:25:16.450 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:16.453 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.454 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:16.455 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:16.455 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.295
Scenario Outline Check dataset record in ngr voor krw2006-68b5-4ff3-94a4-9c24109ffd5e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:15.814 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* print title 0.000
04:25:15.815 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:15.817 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-68b5-4ff3-94a4-9c24109ffd5e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.863
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:16.682 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.000
04:25:15.821 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:15.822 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.328
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.007
04:25:16.159 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.159 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:16.362 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:16.362 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:16.363 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.363 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.671 status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.003
04:25:16.671 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:16.675 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
04:25:16.680 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:16.681 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:16.681 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.608
Scenario Outline Check dataset record in ngr voor 710c381c-ab2d-45d5-a45d-af2eba811e5f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.512
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:16.060 [print] title:Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* print title 0.000
04:25:16.060 [print] Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:16.064 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "710c381c-ab2d-45d5-a45d-af2eba811e5f" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.543
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:16.611 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f"
}
> * print "testing xlinkurl: 0.003
04:25:16.073 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.074 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f
> Given url link 0.000
> When method HEAD 0.332
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.000
04:25:16.407 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.407 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
04:25:16.608 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
04:25:16.608 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/8, response: 
04:25:16.610 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.610 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:16.611 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:16.611 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.096
Scenario Outline Check dataset record in ngr voor 60a2a7c2-d5b3-4ad5-b562-c448695357fb
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.513
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:16.532 [print] title:Nationale Landschappen
* print title 0.000
04:25:16.532 [print] Nationale Landschappen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:16.536 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "60a2a7c2-d5b3-4ad5-b562-c448695357fb" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.788
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.327 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:16.540 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.541 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb"
}
> * print "testing xlinkurl: 0.000
04:25:16.835 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.835 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb
> Given url link 0.000
> When method HEAD 0.447
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:17.284 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.285 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.035
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.321 status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:17.322 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.324 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.324 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.326 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:17.327 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.123
Scenario Outline Check dataset record in ngr voor cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:16.684 [print] title:Stiltegebieden
* print title 0.000
04:25:16.684 [print] Stiltegebieden
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:16.685 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.797
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.484 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:16.689 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.690 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.290
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5"
}
> * print "testing xlinkurl: 0.000
04:25:16.982 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:16.982 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5
> Given url link 0.000
> When method HEAD 0.455
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:17.439 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.440 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.035
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.477 status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:17.478 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.480 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.481 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.482 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:17.482 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.381
Scenario Outline Check dataset record in ngr voor 49ab8bee-b467-486a-96ca-b950443c453a
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '49ab8bee-b467-486a-96ca-b950443c453a' 0.011
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.587
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ab8bee-b467-486a-96ca-b950443c453a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:17.048 [print] title:Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* print title 0.000
04:25:17.048 [print] Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:17.051 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "49ab8bee-b467-486a-96ca-b950443c453a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.891
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 44, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.942 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.003
04:25:17.058 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.058 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.289
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a"
}
> * print "testing xlinkurl: 0.008
04:25:17.357 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.357 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a
> Given url link 0.000
> When method HEAD 0.530
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.002
04:25:17.891 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.891 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.044
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 44, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.936 status code was: 404, expected: 200, response time: 44, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:17.937 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 44, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.940 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.940 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.941 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:17.942 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.128
Scenario Outline Check dataset record in ngr voor f0821bfe-5a0a-11e9-8647-d663bd873d93
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:17.023 [print] title:NB-wetgebieden buiten Natura 2000
* print title 0.000
04:25:17.023 [print] NB-wetgebieden buiten Natura 2000
* def xlinks = get response /GetRecordByIdResponse//@href 0.009
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:17.033 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f0821bfe-5a0a-11e9-8647-d663bd873d93" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.777
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 36, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.812 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:17.037 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.038 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.287
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93"
}
> * print "testing xlinkurl: 0.001
04:25:17.327 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
04:25:17.329 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93
> Given url link 0.000
> When method HEAD 0.440
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:17.770 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.771 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 36, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.807 status code was: 404, expected: 200, response time: 36, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:17.807 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 36, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:17.810 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.811 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:17.812 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:17.812 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.323
Scenario Outline Check dataset record in ngr voor 110f9ec6-4464-462e-9765-83d90cefbeab
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeab' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.570
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeab' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:17.186 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* print title 0.001
04:25:17.187 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:17.189 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeab" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.874
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 341, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.067 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab"
}
> * print "testing xlinkurl: 0.000
04:25:17.195 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.195 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab
> Given url link 0.000
> When method HEAD 0.318
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:17.516 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.517 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:17.719 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:17.719 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:17.720 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.720 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.344
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 341, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.065 status code was: 500, expected: 200, response time: 341, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:18.065 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 341, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.066 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.066 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.067 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:18.067 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.237
Scenario Outline Check dataset record in ngr voor 2e31680f-68b5-4ff3-94a4-9c24109ffd5e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.553
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:17.240 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* print title 0.000
04:25:17.240 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:17.242 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "2e31680f-68b5-4ff3-94a4-9c24109ffd5e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.840
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 317, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.084 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.000
04:25:17.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.247 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:17.559 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
04:25:17.562 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:17.764 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:17.764 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:17.765 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.765 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.317
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 317, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.083 status code was: 500, expected: 200, response time: 317, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:18.083 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 317, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.084 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.084 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.084 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:18.084 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.276
Scenario Outline Check dataset record in ngr voor 622a632a-c57b-44a2-83a4-e51223d5f15g
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.551
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:17.885 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* print title 0.000
04:25:17.885 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.005
04:25:17.893 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "622a632a-c57b-44a2-83a4-e51223d5f15g" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.857
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 327, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.752 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.003
04:25:17.900 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:17.901 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.311
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:18.215 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.215 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.418 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:18.420 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.421 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.422 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.327
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 327, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.750 status code was: 500, expected: 200, response time: 327, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:18.750 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 327, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.751 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.752 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.752 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:18.752 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.226
Scenario Outline Check dataset record in ngr voor krw-f7bb2351-9788-42ea-a58b-a5ee1842304e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.543
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:18.031 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* print title 0.000
04:25:18.031 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:18.034 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-f7bb2351-9788-42ea-a58b-a5ee1842304e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.838
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.875 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e"
}
> * print "testing xlinkurl: 0.000
04:25:18.038 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.038 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:18.348 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.349 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.549 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:18.550 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.550 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.551 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.865 status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.009
04:25:18.865 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:18.874 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.874 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:18.875 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:18.875 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.204
Scenario Outline Check dataset record in ngr voor a1960e70-22f4-4fd9-91a8-b605c6ceda3e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:18.337 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* print title 0.000
04:25:18.338 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:18.341 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "a1960e70-22f4-4fd9-91a8-b605c6ceda3e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.839
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 203, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.182 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e"
}
> * print "testing xlinkurl: 0.000
04:25:18.345 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.345 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e
> Given url link 0.000
> When method HEAD 0.317
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:18.665 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.665 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 203, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.868 status code was: 404, expected: 200, response time: 203, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:18.868 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 203, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:18.869 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.869 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.311
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.181 status code was: 500, expected: 200, response time: 312, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.267
Scenario Outline Check dataset record in ngr voor 110f9ec6-4464-462e-9765-83d90cefbeag
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeag' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.574
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeag' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:18.525 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* print title 0.000
04:25:18.526 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.013
04:25:18.542 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeag" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.836
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:19.380 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag"
}
> * print "testing xlinkurl: 0.000
04:25:18.548 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.005
04:25:18.554 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag
> Given url link 0.000
> When method HEAD 0.311
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:18.867 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.867 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.067 status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:19.068 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.069 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.310
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.379 status code was: 500, expected: 200, response time: 310, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:19.379 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.380 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.380 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:19.380 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:19.380 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.270
Scenario Outline Check dataset record in ngr voor krw2006-c57b-44a2-83a4-e51223d5f15g
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.518
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:18.596 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* print title 0.000
04:25:18.596 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.004
* print nlinks 0.002
04:25:18.604 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-c57b-44a2-83a4-e51223d5f15g" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.869
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:19.476 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.004
04:25:18.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
04:25:18.622 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:18.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:18.936 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.203
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.140 status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.007
04:25:19.140 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.148 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:19.149 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.325
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.475 status code was: 500, expected: 200, response time: 325, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:19.475 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 325, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.476 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.476 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:19.476 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:19.476 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.245
Scenario Outline Check dataset record in ngr voor 110f9ec6-4464-462e-9765-83d90cefbeac
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.561
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeac' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
04:25:18.656 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* print title 0.000
04:25:18.656 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:18.661 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeac" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.839
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.501 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac"
}
> * print "testing xlinkurl: 0.000
04:25:18.669 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.670 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac
> Given url link 0.000
> When method HEAD 0.312
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:18.985 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:18.986 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.186 status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:19.186 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:19.187 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.187 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:19.501 status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.176
Scenario Outline Check dataset record in ngr voor 891ddc2d-8949-4a45-be96-c65b87c41f13
Steps
Given path 'geonetwork/srv/dut/inspire' 0.007
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.509
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:19.277 [print] title:Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* print title 0.000
04:25:19.278 [print] Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:19.280 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "891ddc2d-8949-4a45-be96-c65b87c41f13" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.825
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:20.109 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13"
}
> * print "testing xlinkurl: 0.000
04:25:19.285 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.286 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.001
04:25:19.596 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.597 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:19.799 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:19.799 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:19.800 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.801 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:20.108 status code was: 500, expected: 200, response time: 307, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.613
Scenario Outline Check dataset record in ngr voor 17716ed7-ce0d-4bfd-8868-a398e5578a36
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.514
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
04:25:19.399 [print] title:Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* print title 0.000
04:25:19.399 [print] Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.002
* print nlinks 0.000
04:25:19.403 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
]
* def id = "17716ed7-ce0d-4bfd-8868-a398e5578a36" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.042
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:19.451 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
}
> * print "testing xlinkurl: 0.001
04:25:19.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.411 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
> Given url link 0.000
> When method HEAD 0.037
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:19.448 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 34 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
04:25:19.449 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.555
Scenario Outline Check dataset record in ngr voor 26103042-50a1-4ee5-9c5b-857a2f8b7680
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.534
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.005
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:19.727 [print] title:Wijk- en Buurtkaart 2017 versie 3
* print title 0.000
04:25:19.728 [print] Wijk- en Buurtkaart 2017 versie 3
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:19.730 [print] [
  ""
]
* def id = "26103042-50a1-4ee5-9c5b-857a2f8b7680" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.004
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:19.736 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:19.734 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.735 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:19.736 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:19.736 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.617
Scenario Outline Check dataset record in ngr voor a9b7026e-0a81-4813-93bd-ba49e6f28502
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:19.929 [print] title:NWB - Wegen
* print title 0.000
04:25:19.929 [print] NWB - Wegen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:19.932 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "a9b7026e-0a81-4813-93bd-ba49e6f28502" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.034
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:20.968 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502"
}
> * print "testing xlinkurl: 0.000
04:25:19.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:19.936 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.001
04:25:20.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.246 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:20.447 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
04:25:20.447 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/7, response: 
04:25:20.448 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.448 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:20.651 status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:20.651 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/18, response: 
04:25:20.653 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.653 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.313
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:20.966 status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:20.966 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 313, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:20.967 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.967 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:20.968 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:20.968 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.589
Scenario Outline Check dataset record in ngr voor 6cde2ce7-3ecd-4785-b7b8-d62c3381efe9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.559
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:20.069 [print] title:Wijk- en Buurtkaart 2016 versie 3
* print title 0.002
04:25:20.071 [print] Wijk- en Buurtkaart 2016 versie 3
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:25:20.077 [print] [
  ""
]
* def id = "6cde2ce7-3ecd-4785-b7b8-d62c3381efe9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.007
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:20.086 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
04:25:20.083 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.083 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:20.084 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:20.085 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.369
Scenario Outline Check dataset record in ngr voor 4cda487b-c467-490c-a843-6563fec016be
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4cda487b-c467-490c-a843-6563fec016be' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.523
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4cda487b-c467-490c-a843-6563fec016be' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:20.265 [print] title:Aansluitende zone volgens UNCLOS - Noordzee
* print title 0.000
04:25:20.265 [print] Aansluitende zone volgens UNCLOS - Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:20.268 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
]
* def id = "4cda487b-c467-490c-a843-6563fec016be" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.920
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 448, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be, response: 
04:25:21.189 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 448, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:20.272 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.272 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.463
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
}
> * print "testing xlinkurl: 0.001
04:25:20.739 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:20.741 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be
> Given url link 0.000
> When method HEAD 0.448
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 448, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be, response: 
04:25:21.189 status code was: 500, expected: 200, response time: 448, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.284
Scenario Outline Check dataset record in ngr voor ror-9d8e-4758-83fx-28b057f185e1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185e1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185e1' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:20.645 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* print title 0.000
04:25:20.646 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:20.648 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185e1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.865
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.515 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1"
}
> * print "testing xlinkurl: 0.000
04:25:20.658 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
04:25:20.660 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1
> Given url link 0.000
> When method HEAD 0.339
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.001
04:25:21.002 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.002 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.204 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:21.204 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.204 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.204 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.513 status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:21.513 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.514 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.514 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.515 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:21.515 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.256
Scenario Outline Check dataset record in ngr voor ror-9d8e-4758-83fx-28b057f185g1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185g1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185g1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:20.667 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* print title 0.000
04:25:20.668 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:20.671 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185g1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.849
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.522 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1"
}
> * print "testing xlinkurl: 0.000
04:25:20.678 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.679 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1
> Given url link 0.000
> When method HEAD 0.320
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.003
04:25:21.003 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.004 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.205 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:21.205 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.206 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.206 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.314
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.521 status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:21.521 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 314, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.521 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.522 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.522 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:21.522 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.459
Scenario Outline Check dataset record in ngr voor ror-9d8e-4758-83fx-28b057f185f1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185f1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.548
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185f1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.015
* print 'title:' + title 0.000
04:25:20.765 [print] title:Richtlijn Overstromingsrisico - historische overstromingen EU2018
* print title 0.000
04:25:20.765 [print] Richtlijn Overstromingsrisico - historische overstromingen EU2018
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:20.767 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185f1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.949
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.718 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1"
}
> * print "testing xlinkurl: 0.000
04:25:20.778 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.779 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1
> Given url link 0.000
> When method HEAD 0.421
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
04:25:21.201 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.202 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.405 status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:21.405 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/25, response: 
04:25:21.406 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.406 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.716 status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:21.716 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.717 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.717 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.718 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:21.718 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.293
Scenario Outline Check dataset record in ngr voor uwwtd-9d8e-4758-83fa-28b057f185e3
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.545
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:20.823 [print] title:Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* print title 0.000
04:25:20.823 [print] Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:20.827 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e3" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.869
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.701 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
04:25:20.834 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:20.835 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.347
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:21.184 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.185 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.202
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:21.388 status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:21.388 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 202, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:21.389 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.390 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.699 status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:21.699 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:21.700 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.700 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:21.701 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:21.701 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.246
Scenario Outline Check dataset record in ngr voor uwwtd-9d8e-4758-83fa-28b057f185e2
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.501
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:21.482 [print] title:Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* print title 0.000
04:25:21.482 [print] Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:21.484 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e2" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.865
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:22.355 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2"
}
> * print "testing xlinkurl: 0.000
04:25:21.491 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
04:25:21.493 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2
> Given url link 0.000
> When method HEAD 0.315
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:21.810 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:21.811 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:22.013 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.002
04:25:22.014 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:22.018 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.018 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.329
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:22.348 status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:22.349 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:22.350 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.350 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:22.354 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:22.354 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.320
Scenario Outline Check dataset record in ngr voor uwwtd-9d8e-4758-83fa-28b057f185e1
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.498
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:21.692 [print] title:Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* print title 0.000
04:25:21.692 [print] Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:21.694 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.910
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 205, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 330, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:22.606 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1"
}
> * print "testing xlinkurl: 0.000
04:25:21.698 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.005
04:25:21.704 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1
> Given url link 0.000
> When method HEAD 0.356
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:22.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.064 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.205
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 205, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:22.269 status code was: 404, expected: 200, response time: 205, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:22.269 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 205, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:22.270 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.270 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.329
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 330, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:22.601 status code was: 500, expected: 200, response time: 330, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:22.602 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 330, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:22.605 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.605 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:22.606 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:22.606 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.601
Scenario Outline Check dataset record in ngr voor 76091be7-358a-4a44-8182-b4139c96c6a4
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '76091be7-358a-4a44-8182-b4139c96c6a4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.579
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76091be7-358a-4a44-8182-b4139c96c6a4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.098 [print] title:Adressen
* print title 0.000
04:25:22.098 [print] Adressen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.100 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
]
* def id = "76091be7-358a-4a44-8182-b4139c96c6a4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.010
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.112 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
}
> * print "testing xlinkurl: 0.001
04:25:22.108 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.109 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.110 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
04:25:22.111 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.674
Scenario Outline Check dataset record in ngr voor 0558a41c-b09a-47fa-b8db-9de6bfe4f494
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.656
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.182 [print] title:Gebouwen
* print title 0.000
04:25:22.182 [print] Gebouwen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.184 [print] [
  "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2",
  ""
]
* def id = "0558a41c-b09a-47fa-b8db-9de6bfe4f494" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.007
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.192 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"
}
> * print "testing xlinkurl: 0.000
04:25:22.187 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.188 [print] testing xlinkurl:http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.189 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
04:25:22.189 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:22.190 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.191 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.191 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.192 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.192 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.228
Scenario Outline Check dataset record in ngr voor 1c3afc74-cc34-44b7-938a-963e2350795a
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1c3afc74-cc34-44b7-938a-963e2350795a' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.598
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c3afc74-cc34-44b7-938a-963e2350795a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.308 [print] title:Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* print title 0.000
04:25:22.308 [print] Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.310 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
]
* def id = "1c3afc74-cc34-44b7-938a-963e2350795a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.310
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.621 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:22.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.314 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.305
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
}
> * print "testing xlinkurl: 0.000
04:25:22.621 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.621 [print] testing xlinkurl:http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.621 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
04:25:22.621 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.483
Scenario Outline Check dataset record in ngr voor c935f2ab-9b65-4dc4-94a0-73aeb840a941
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.477
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
04:25:22.201 [print] title:Overheidsdiensten
* print title 0.000
04:25:22.201 [print] Overheidsdiensten
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:37 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "c935f2ab-9b65-4dc4-94a0-73aeb840a941" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
0.615
Scenario Outline Check dataset record in ngr voor 1be28290-55fa-4486-b9d3-b9d147117863
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1be28290-55fa-4486-b9d3-b9d147117863' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.572
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1be28290-55fa-4486-b9d3-b9d147117863' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.689 [print] title:Luchtfoto 2016 25cm CIR open data
* print title 0.000
04:25:22.689 [print] Luchtfoto 2016 25cm CIR open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.691 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015",
  "",
  "",
  ""
]
* def id = "1be28290-55fa-4486-b9d3-b9d147117863" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.023
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b015}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.716 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"
}
> * print "testing xlinkurl: 0.000
04:25:22.695 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.695 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.696 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
04:25:22.696 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:22.700 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.701 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.702 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.704 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.705 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:22.706 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.708 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.708 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.709 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.710 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:22.710 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.711 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.711 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.712 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.714 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.623
Scenario Outline Check dataset record in ngr voor 4783ea4f-6b8c-4600-8af0-516f3556cfe9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.530
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.726 [print] title:Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* print title 0.000
04:25:22.726 [print] Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:22.727 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "",
  "",
  "",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "4783ea4f-6b8c-4600-8af0-516f3556cfe9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.544
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=}, {link=}, {link=}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 206, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:23.276 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9"
}
> * print "testing xlinkurl: 0.000
04:25:22.734 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.735 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9
> Given url link 0.000
> When method HEAD 0.324
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:23.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.063 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.206
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 206, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:23.270 status code was: 404, expected: 200, response time: 206, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:23.270 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 206, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:23.271 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.271 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.271 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:23.271 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:23.271 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.272 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:23.272 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.274 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:23.274 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:23.274 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.274 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.275 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.275 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:23.275 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:23.275 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.276 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.276 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:23.276 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:23.276 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.794
Scenario Outline Check dataset record in ngr voor F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.570
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.776 [print] title:BRO Digital Geological Model (DGM)
* print title 0.002
04:25:22.778 [print] BRO Digital Geological Model (DGM)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.781 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.109
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 417, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:23.893 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 417, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
04:25:22.786 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.786 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.285
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66, response: 
04:25:23.071 status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
04:25:23.071 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 284, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66, response: 
04:25:23.072 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.072 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.199
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:23.272 status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"
}
> * print "testing xlinkurl: 0.000
04:25:23.272 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 199, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:23.273 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.273 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/#
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/#, response: 
04:25:23.473 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:25:23.474 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/#, response: 
04:25:23.474 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.474 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.417
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 417, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:23.893 status code was: 500, expected: 200, response time: 417, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.634
Scenario Outline Check dataset record in ngr voor 7c24ea89-074e-4c4f-91e3-d38e813e9cb6
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.596
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:22.964 [print] title:Luchtfoto 2017 25cm CIR open data
* print title 0.000
04:25:22.965 [print] Luchtfoto 2017 25cm CIR open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:22.967 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018",
  "",
  "",
  ""
]
* def id = "7c24ea89-074e-4c4f-91e3-d38e813e9cb6" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.014
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b018}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.983 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"
}
> * print "testing xlinkurl: 0.000
04:25:22.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.973 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.974 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
04:25:22.974 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:22.974 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:22.975 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.975 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.975 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.975 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:22.975 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.976 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.976 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.980 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.980 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:22.980 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.982 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:22.982 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:22.983 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:22.983 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.653
Scenario Outline Check dataset record in ngr voor 110f9ec6-4464-462e-9765-83d90cefbead
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbead' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.595
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbead' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:23.221 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* print title 0.000
04:25:23.221 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:23.224 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbead" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.027
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 348, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:24.253 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 348, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead"
}
> * print "testing xlinkurl: 0.000
04:25:23.229 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.230 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead
> Given url link 0.000
> When method HEAD 0.468
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
04:25:23.700 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.701 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:23.903 status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:23.903 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 201, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:23.904 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.904 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.348
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 348, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:24.253 status code was: 500, expected: 200, response time: 348, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.738
Scenario Outline Check dataset record in ngr voor f5f68d51-2ca4-4897-8227-d3938b2b0a7e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.724
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:23.445 [print] title:Afvalinrichtingen inclusief nucleaire inrichtingen
* print title 0.000
04:25:23.446 [print] Afvalinrichtingen inclusief nucleaire inrichtingen
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:23.449 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f5f68d51-2ca4-4897-8227-d3938b2b0a7e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.504
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.955 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e"
}
> * print "testing xlinkurl: 0.001
04:25:23.454 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:23.455 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e
> Given url link 0.000
> When method HEAD 0.453
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:23.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.911 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.038
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:23.950 status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:23.952 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 38, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:23.953 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.953 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:23.954 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:23.954 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.446
Scenario Outline Check dataset record in ngr voor 80630ee7-3a15-4ea0-bdc0-a8aebfa2f204
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.637
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:23.625 [print] title:Oppervlaktegeologie, Geologische kaart onder INSPIRE
* print title 0.000
04:25:23.626 [print] Oppervlaktegeologie, Geologische kaart onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:23.629 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "80630ee7-3a15-4ea0-bdc0-a8aebfa2f204" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.404
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 292, url: https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 305, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:25.036 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 305, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"
}
> * print "testing xlinkurl: 0.000
04:25:23.636 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:23.637 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 292, url: https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9, response: 
04:25:23.930 status code was: 404, expected: 200, response time: 292, url: https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
04:25:23.930 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 292, url: https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9, response: 
04:25:23.931 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.931 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:24.132 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:25:24.132 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/13, response: 
04:25:24.133 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.133 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.593
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:24.726 status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
04:25:24.727 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 398, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:24.728 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.729 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.305
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 305, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:25.035 status code was: 500, expected: 200, response time: 305, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.582
Scenario Outline Check dataset record in ngr voor 68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.514
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:23.795 [print] title:Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* print title 0.000
04:25:23.796 [print] Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:23.797 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.531
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:24.330 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2"
}
> * print "testing xlinkurl: 0.000
04:25:23.801 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:23.802 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2
> Given url link 0.000
> When method HEAD 0.325
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
04:25:24.128 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.129 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:24.329 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:24.329 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/20, response: 
04:25:24.330 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.330 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:24.330 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:24.330 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.138
Scenario Outline Check dataset record in ngr voor 493ab81b-75f8-4205-b030-6b2fd9eb4295
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:24.311 [print] title:INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* print title 0.000
04:25:24.311 [print] INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:24.313 [print] [
  "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
]
* def id = "493ab81b-75f8-4205-b030-6b2fd9eb4295" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.788
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 785, url: https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip, response: 
04:25:25.103 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 785, url: https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
}
> * print "testing xlinkurl: 0.000
04:25:24.318 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.318 [print] testing xlinkurl:https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip
> Given url link 0.000
> When method HEAD 0.785
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 785, url: https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip, response: 
04:25:25.103 status code was: 404, expected: 200, response time: 785, url: https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.709
Scenario Outline Check dataset record in ngr voor 1249746f-c2a6-4639-98f2-251676b3528e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1249746f-c2a6-4639-98f2-251676b3528e' 0.007
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.535
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1249746f-c2a6-4639-98f2-251676b3528e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:24.502 [print] title:Maritieme grenzen - basislijn Noordzee
* print title 0.000
04:25:24.502 [print] Maritieme grenzen - basislijn Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:24.505 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
]
* def id = "1249746f-c2a6-4639-98f2-251676b3528e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.582
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 282, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03, response: 
04:25:25.089 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 282, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:24.511 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.512 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.290
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
}
> * print "testing xlinkurl: 0.000
04:25:24.804 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.805 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03
> Given url link 0.000
> When method HEAD 0.283
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 282, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03, response: 
04:25:25.089 status code was: 404, expected: 200, response time: 282, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.212
Scenario Outline Check dataset record in ngr voor 8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.482
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:24.740 [print] title:Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
04:25:24.741 [print] Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:24.742 [print] [
  "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
]
* def id = "8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.361
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.107 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
}
> * print "testing xlinkurl: 0.000
04:25:24.748 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.748 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.107 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
04:25:25.107 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.223
Scenario Outline Check dataset record in ngr voor ad6caa40-89ab-47e3-85ab-3f8e32024a71
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.493
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:24.827 [print] title:Emissies naar lucht en water in 2011 vanuit de industrie
* print title 0.000
04:25:24.828 [print] Emissies naar lucht en water in 2011 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:24.829 [print] [
  "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
]
* def id = "ad6caa40-89ab-47e3-85ab-3f8e32024a71" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.194 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
}
> * print "testing xlinkurl: 0.000
04:25:24.833 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:24.833 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.193 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
04:25:25.194 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.297
Scenario Outline Check dataset record in ngr voor e1e99000-ec47-4e9f-84a5-adad24fef0dc
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.563
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:25.604 [print] title:Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
04:25:25.605 [print] Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:25.607 [print] [
  "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
]
* def id = "e1e99000-ec47-4e9f-84a5-adad24fef0dc" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.363
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.973 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
}
> * print "testing xlinkurl: 0.000
04:25:25.611 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.612 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:25.972 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
04:25:25.972 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.874
Scenario Outline Check dataset record in ngr voor f1d27179-36eb-4376-8048-f51d2eb23a09
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.625
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:25.720 [print] title:Nederlands deel PSSA Waddenzee
* print title 0.000
04:25:25.721 [print] Nederlands deel PSSA Waddenzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:25.723 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
]
* def id = "f1d27179-36eb-4376-8048-f51d2eb23a09" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.621
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 322, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09, response: 
04:25:26.345 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 322, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:25.726 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.727 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.293
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
}
> * print "testing xlinkurl: 0.000
04:25:26.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.022 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09
> Given url link 0.000
> When method HEAD 0.322
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 322, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09, response: 
04:25:26.345 status code was: 500, expected: 200, response time: 322, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.518
Scenario Outline Check dataset record in ngr voor 64c987ec-dce6-11e3-8563-901b0e19e163
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64c987ec-dce6-11e3-8563-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.593
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64c987ec-dce6-11e3-8563-901b0e19e163' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:25.702 [print] title:Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* print title 0.000
04:25:25.702 [print] Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.002
* print nlinks 0.000
04:25:25.706 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "64c987ec-dce6-11e3-8563-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.458
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:26.166 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"
}
> * print "testing xlinkurl: 0.000
04:25:25.710 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.711 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b
> Given url link 0.000
> When method HEAD 0.418
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b, response: 
04:25:26.129 status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:26.129 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 418, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b, response: 
04:25:26.131 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.131 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:26.166 status code was: 404, expected: 200, response time: 34, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.228
Scenario Outline Check dataset record in ngr voor 7dd1fd45-ace5-41e0-93a6-64e3be231717
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.634
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:25.748 [print] title:Administratieve Eenheden (INSPIRE geharmoniseerd)
* print title 0.000
04:25:25.748 [print] Administratieve Eenheden (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:25.751 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
]
* def id = "7dd1fd45-ace5-41e0-93a6-64e3be231717" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.293
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:26.045 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:25.754 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.755 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.288
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
}
> * print "testing xlinkurl: 0.000
04:25:26.045 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.045 [print] testing xlinkurl:http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:26.045 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
04:25:26.045 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.656
Scenario Outline Check dataset record in ngr voor 5b274449-b6c2-4672-a32f-e0bd40975a53
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.637
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:25.837 [print] title:Luchtfoto 2018 25cm RGB open data
* print title 0.000
04:25:25.837 [print] Luchtfoto 2018 25cm RGB open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:25.839 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020",
  "",
  "",
  ""
]
* def id = "5b274449-b6c2-4672-a32f-e0bd40975a53" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.006
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b020}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.848 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"
}
> * print "testing xlinkurl: 0.000
04:25:25.843 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.844 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:25.844 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
04:25:25.844 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:25.844 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:25.845 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.845 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.845 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:25.845 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:25.845 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.846 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.846 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.846 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:25.846 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:25.847 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.847 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:25.847 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:25.848 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:25.848 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.209
Scenario Outline Check dataset record in ngr voor 844404a2-9cd0-452e-b29a-74588777485a
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '844404a2-9cd0-452e-b29a-74588777485a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.532
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '844404a2-9cd0-452e-b29a-74588777485a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:26.390 [print] title:Geluidkaart hoofdspoornet 2011 (Lden)
* print title 0.000
04:25:26.390 [print] Geluidkaart hoofdspoornet 2011 (Lden)
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:26.392 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
]
* def id = "844404a2-9cd0-452e-b29a-74588777485a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.336
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 333, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a, response: 
04:25:26.730 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 333, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
}
> * print "testing xlinkurl: 0.000
04:25:26.396 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.396 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a
> Given url link 0.000
> When method HEAD 0.333
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 333, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a, response: 
04:25:26.730 status code was: 500, expected: 200, response time: 333, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.262
Scenario Outline Check dataset record in ngr voor krw-782cab20-8328-45f1-a9b2-c27d07c14066
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.538
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:26.519 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* print title 0.000
04:25:26.519 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.001
04:25:26.523 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-782cab20-8328-45f1-a9b2-c27d07c14066" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.857
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:27.382 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066"
}
> * print "testing xlinkurl: 0.000
04:25:26.526 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.527 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066
> Given url link 0.000
> When method HEAD 0.318
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:26.848 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.849 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:27.050 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:27.050 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:27.051 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.051 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.329
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:27.380 status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
04:25:27.380 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 329, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:27.381 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.382 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
04:25:27.382 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
04:25:27.382 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.545
Scenario Outline Check dataset record in ngr voor e536d943-ecff-4d7a-9500-cc31a263a6af
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.524
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:26.574 [print] title:Publiekrechtelijke beperkingen
* print title 0.000
04:25:26.575 [print] Publiekrechtelijke beperkingen
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.004
* print nlinks 0.000
04:25:26.581 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
]
* def id = "e536d943-ecff-4d7a-9500-cc31a263a6af" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:26.588 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
}
> * print "testing xlinkurl: 0.000
04:25:26.585 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.586 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:26.587 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
04:25:26.587 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.865
Scenario Outline Check dataset record in ngr voor 4617f0e0-6af4-4ac0-9044-31df9d03071c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.559
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
04:25:26.733 [print] title:Gebieden in de territoriale zee
* print title 0.000
04:25:26.733 [print] Gebieden in de territoriale zee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:26.734 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
]
* def id = "4617f0e0-6af4-4ac0-9044-31df9d03071c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.651
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 347, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c, response: 
04:25:27.387 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 347, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:26.741 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.742 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
}
> * print "testing xlinkurl: 0.002
04:25:27.038 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.039 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c
> Given url link 0.000
> When method HEAD 0.347
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 347, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c, response: 
04:25:27.387 status code was: 500, expected: 200, response time: 347, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.299
Scenario Outline Check dataset record in ngr voor b61a773c-ecad-4e60-93e9-0a4caac0b52f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.513
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:26.862 [print] title:Olie- en gasvelden onder INSPIRE
* print title 0.000
04:25:26.862 [print] Olie- en gasvelden onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:26.864 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "b61a773c-ecad-4e60-93e9-0a4caac0b52f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.391
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/33}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/33, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 400, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:28.257 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"
}
> * print "testing xlinkurl: 0.000
04:25:26.868 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:26.868 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef
> Given url link 0.000
> When method HEAD 0.281
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef, response: 
04:25:27.150 status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"
}
> * print "testing xlinkurl: 0.000
04:25:27.150 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef, response: 
04:25:27.151 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.151 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/33
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/33, response: 
04:25:27.352 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/33, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.001
04:25:27.352 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/33, response: 
04:25:27.353 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.354 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.594
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 400, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:27.948 status code was: 404, expected: 200, response time: 400, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:25:27.948 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 400, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:27.949 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.949 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.307
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:28.257 status code was: 500, expected: 200, response time: 307, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.145
Scenario Outline Check dataset record in ngr voor 0f128799-cf18-4b37-a721-e62b068191f5
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0f128799-cf18-4b37-a721-e62b068191f5' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.533
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0f128799-cf18-4b37-a721-e62b068191f5' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.016
04:25:27.143 [print] title:Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* print title 0.000
04:25:27.143 [print] Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:27.145 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "0f128799-cf18-4b37-a721-e62b068191f5" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.795
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 41, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:27.945 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:27.152 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
04:25:27.156 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5"
}
> * print "testing xlinkurl: 0.000
04:25:27.449 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.449 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5
> Given url link 0.000
> When method HEAD 0.447
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:27.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.898 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.041
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 41, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:27.940 status code was: 404, expected: 200, response time: 41, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:27.941 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 41, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:27.943 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.944 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:27.944 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:27.944 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.247
Scenario Outline Check dataset record in ngr voor 500d396f-5ec6-4e4b-a151-5fb3cddd8082
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.508
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:27.244 [print] title:Gemeten Zwaveldioxide concentraties in buitenlucht.
* print title 0.000
04:25:27.244 [print] Gemeten Zwaveldioxide concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:27.250 [print] [
  "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
]
* def id = "500d396f-5ec6-4e4b-a151-5fb3cddd8082" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.364
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:27.615 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
}
> * print "testing xlinkurl: 0.000
04:25:27.254 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.255 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:27.615 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
04:25:27.615 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.257
Scenario Outline Check dataset record in ngr voor d3c9efd6-fca7-49d6-92bb-5f507abece90
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.530
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:27.918 [print] title:Gemeten Ammoniak concentraties in buitenlucht.
* print title 0.000
04:25:27.919 [print] Gemeten Ammoniak concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:27.920 [print] [
  "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
]
* def id = "d3c9efd6-fca7-49d6-92bb-5f507abece90" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.282 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
}
> * print "testing xlinkurl: 0.001
04:25:27.924 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.924 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.282 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
04:25:28.282 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.315
Scenario Outline Check dataset record in ngr voor d8f370e8-123c-4ab3-9410-04f728327ac6
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.584
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:27.976 [print] title:Gemeten Ozon concentraties in buitenlucht.
* print title 0.000
04:25:27.976 [print] Gemeten Ozon concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:27.978 [print] [
  "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
]
* def id = "d8f370e8-123c-4ab3-9410-04f728327ac6" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.363
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.343 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
}
> * print "testing xlinkurl: 0.000
04:25:27.983 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:27.983 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.343 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
04:25:28.343 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.291
Scenario Outline Check dataset record in ngr voor f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.546
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:28.150 [print] title:Gemeten Stikstofmonoxide concentraties in buitenlucht.
* print title 0.000
04:25:28.150 [print] Gemeten Stikstofmonoxide concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:28.151 [print] [
  "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
]
* def id = "f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.370
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.522 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
}
> * print "testing xlinkurl: 0.000
04:25:28.155 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:28.155 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
> Given url link 0.000
> When method HEAD 0.367
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.522 javax.net.ssl.SSLException: Connection reset, http call failed after 367 milliseconds for URL: https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
04:25:28.522 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.316
Scenario Outline Check dataset record in ngr voor af135cd8-d429-4fc7-b9e3-09e15217520d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.581
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.005
04:25:28.205 [print] title:Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* print title 0.000
04:25:28.205 [print] Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:28.207 [print] [
  "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
]
* def id = "af135cd8-d429-4fc7-b9e3-09e15217520d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.572 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
}
> * print "testing xlinkurl: 0.000
04:25:28.211 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:28.212 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.571 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
04:25:28.571 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.264
Scenario Outline Check dataset record in ngr voor 5800f3b0-2ea2-4231-8165-216a7b26867f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.528
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:28.478 [print] title:Gemeten Koolstofmonoxide concentraties in buitenlucht.
* print title 0.000
04:25:28.478 [print] Gemeten Koolstofmonoxide concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:28.482 [print] [
  "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
]
* def id = "5800f3b0-2ea2-4231-8165-216a7b26867f" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.364
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.849 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
}
> * print "testing xlinkurl: 0.000
04:25:28.487 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:28.488 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:28.847 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
04:25:28.848 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.251
Scenario Outline Check dataset record in ngr voor b3ec8793-7747-4da0-b6c3-aa384446a586
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.516
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:28.779 [print] title:Gemeten Fijn stof concentraties in buitenlucht.
* print title 0.000
04:25:28.780 [print] Gemeten Fijn stof concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:28.782 [print] [
  "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
]
* def id = "b3ec8793-7747-4da0-b6c3-aa384446a586" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.364
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:29.149 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
}
> * print "testing xlinkurl: 0.000
04:25:28.787 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:28.787 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:29.148 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
04:25:29.149 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.325
Scenario Outline Check dataset record in ngr voor ca94a0cb-7561-4a10-a7d6-b840e56c33ff
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.527
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:28.877 [print] title:Provinciale monumenten
* print title 0.000
04:25:28.877 [print] Provinciale monumenten
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.002
04:25:28.882 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "ca94a0cb-7561-4a10-a7d6-b840e56c33ff" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.894
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:29.779 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:28.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
04:25:28.888 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.338
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff"
}
> * print "testing xlinkurl: 0.000
04:25:29.228 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.228 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff
> Given url link 0.000
> When method HEAD 0.508
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:29.739 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.739 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:29.775 status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:29.776 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 35, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:29.777 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.777 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:29.778 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:29.778 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.223
Scenario Outline Check dataset record in ngr voor 380aa01e-dce7-11e3-9f07-901b0e19e163
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.516
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:29.046 [print] title:Netwerk van KNMI waarneemstations
* print title 0.000
04:25:29.046 [print] Netwerk van KNMI waarneemstations
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:29.049 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "380aa01e-dce7-11e3-9f07-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.349
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 33, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:29.399 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 33, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"
}
> * print "testing xlinkurl: 0.000
04:25:29.052 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.053 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb
> Given url link 0.000
> When method HEAD 0.311
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb, response: 
04:25:29.365 status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:29.365 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 312, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb, response: 
04:25:29.366 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.366 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.032
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 33, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response: 
04:25:29.399 status code was: 404, expected: 200, response time: 33, url: https://creativecommons.org/publicdomain/zero/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.162
Scenario Outline Check dataset record in ngr voor f002bfc5-7d87-46b6-819e-8415422b65c9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.508
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:29.088 [print] title:Aardkundige waarden
* print title 0.000
04:25:29.089 [print] Aardkundige waarden
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:29.091 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f002bfc5-7d87-46b6-819e-8415422b65c9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.822
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:29.917 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
04:25:29.097 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.098 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.293
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9"
}
> * print "testing xlinkurl: 0.000
04:25:29.392 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.392 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9
> Given url link 0.000
> When method HEAD 0.478
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:29.872 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.873 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.042
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:29.916 status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:29.916 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 42, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:29.917 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.917 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:29.917 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:29.917 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
6.076
Scenario Outline Check dataset record in ngr voor a04afee4-47d5-45b7-b7a0-a6f86106af11
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.500
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:29.352 [print] title:Mosselzaadinvanginstallaties
* print title 0.000
04:25:29.353 [print] Mosselzaadinvanginstallaties
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:29.355 [print] [
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "a04afee4-47d5-45b7-b7a0-a6f86106af11" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.786
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 444, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:32.143 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 444, url: https://data.overheid.nl/organisatie/PDOK, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.001
04:25:29.360 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.360 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.509
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11"
}
> * print "testing xlinkurl: 0.000
04:25:29.871 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.871 [print] testing xlinkurl:http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11
> Given url link 0.000
> When method HEAD 0.221
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:25:30.094 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.095 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.518
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:25:30.615 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.615 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.522
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
04:25:31.139 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.139 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.003
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 444, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:32.143 status code was: 404, expected: 200, response time: 444, url: https://data.overheid.nl/organisatie/PDOK, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.564
Scenario Outline Check dataset record in ngr voor df5ee213-e1bd-433b-80f7-4ea20f493ca8
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.538
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:29.692 [print] title:Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
04:25:29.692 [print] Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.004
* print nlinks 0.000
04:25:29.698 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "df5ee213-e1bd-433b-80f7-4ea20f493ca8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.516
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.217 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8"
}
> * print "testing xlinkurl: 0.000
04:25:29.703 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.703 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8
> Given url link 0.000
> When method HEAD 0.452
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:30.172 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.172 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:30.211 status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:30.212 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 37, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:30.213 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.214 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.215 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:30.216 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.341
Scenario Outline Check dataset record in ngr voor 733559a5-201d-40e5-ad43-d1c7bae84d9f
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:29.966 [print] title:Gemeten Stikstofdioxide concentraties in buitenlucht.
* print title 0.000
04:25:29.966 [print] Gemeten Stikstofdioxide concentraties in buitenlucht.
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:29.967 [print] [
  "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
]
* def id = "733559a5-201d-40e5-ad43-d1c7bae84d9f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.388
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 383, url: https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6, response: 
04:25:30.357 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 383, url: https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
}
> * print "testing xlinkurl: 0.001
04:25:29.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:29.973 [print] testing xlinkurl:https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6
> Given url link 0.000
> When method HEAD 0.383
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 383, url: https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6, response: 
04:25:30.357 status code was: 404, expected: 200, response time: 383, url: https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
6.107
Scenario Outline Check dataset record in ngr voor 19165027-a13a-4c19-9013-ec1fd191019d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '19165027-a13a-4c19-9013-ec1fd191019d' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.503
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '19165027-a13a-4c19-9013-ec1fd191019d' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:30.289 [print] title:Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* print title 0.000
04:25:30.289 [print] Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:30.292 [print] [
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "19165027-a13a-4c19-9013-ec1fd191019d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.804
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 479, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:33.097 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 479, url: https://data.overheid.nl/organisatie/PDOK, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.001
04:25:30.307 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.308 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.511
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d"
}
> * print "testing xlinkurl: 0.000
04:25:30.820 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.820 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d
> Given url link 0.000
> When method HEAD 0.216
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:25:31.039 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.039 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.510
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.000
04:25:31.551 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.552 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.514
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
04:25:32.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.069 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.028
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 479, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:33.097 status code was: 404, expected: 200, response time: 479, url: https://data.overheid.nl/organisatie/PDOK, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.835
Scenario Outline Check dataset record in ngr voor e3b0da1e-0664-4025-b3f5-a54d74a26450
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.526
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:30.449 [print] title:zoutvelden en zoutproductieputten onder INSPIRE
* print title 0.000
04:25:30.450 [print] zoutvelden en zoutproductieputten onder INSPIRE
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:30.453 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "e3b0da1e-0664-4025-b3f5-a54d74a26450" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.651
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/34}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 367, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/34, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:32.106 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"
}
> * print "testing xlinkurl: 0.000
04:25:30.458 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.459 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b
> Given url link 0.000
> When method HEAD 0.281
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b, response: 
04:25:30.740 status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"
}
> * print "testing xlinkurl: 0.000
04:25:30.740 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b, response: 
04:25:30.741 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.741 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/34
> Given url link 0.000
> When method HEAD 0.367
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 367, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/34, response: 
04:25:31.109 status code was: 404, expected: 200, response time: 367, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/34, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
04:25:31.109 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 367, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/34, response: 
04:25:31.110 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.110 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.684
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:31.795 status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
04:25:31.795 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 399, url: http://geonetwork-opensource.org/inspire-theme#, response: 
04:25:31.797 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.798 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:32.106 status code was: 500, expected: 200, response time: 308, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.422
Scenario Outline Check dataset record in ngr voor 73ec579e-c906-433a-b0b6-d3aa33421558
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '73ec579e-c906-433a-b0b6-d3aa33421558' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.355
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73ec579e-c906-433a-b0b6-d3aa33421558' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:30.720 [print] title:Luchtvaartinformatie
* print title 0.000
04:25:30.720 [print] Luchtvaartinformatie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:30.721 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "6",
  "2",
  "1"
]
* def id = "73ec579e-c906-433a-b0b6-d3aa33421558" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.033
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=6}, {link=2}, {link=1}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.757 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
04:25:30.725 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.726 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.726 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
04:25:30.726 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.001
04:25:30.727 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.728 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.729 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.729 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:30.729 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
04:25:30.730 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.730 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.730 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.730 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
04:25:30.731 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:30.731 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.731 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.731 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.732 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
04:25:30.732 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.732 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.732 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.733 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
04:25:30.733 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
04:25:30.733 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.733 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.733 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.733 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
04:25:30.734 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
04:25:30.734 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.734 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.734 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.735 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:30.735 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:30.735 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.735 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.735 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.735 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
04:25:30.735 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.736 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.736 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.736 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
04:25:30.736 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
04:25:30.736 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.737 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.737 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.737 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
04:25:30.737 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
04:25:30.737 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.738 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.738 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.738 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
04:25:30.738 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.003
04:25:30.738 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.742 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.742 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.742 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
04:25:30.742 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.743 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.743 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.743 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
04:25:30.743 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
04:25:30.744 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.745 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.745 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.745 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
04:25:30.745 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
04:25:30.745 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.746 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.746 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.746 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
04:25:30.746 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:30.746 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.747 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.747 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.748 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.000
04:25:30.748 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.748 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.748 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.748 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
04:25:30.749 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.000
04:25:30.749 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.749 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.749 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.750 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
04:25:30.750 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
04:25:30.750 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.750 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.750 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.750 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
04:25:30.750 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.000
04:25:30.751 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.751 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.751 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.751 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
04:25:30.751 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:30.752 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.752 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.752 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.752 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
04:25:30.752 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.753 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.753 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.753 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.000
04:25:30.753 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
04:25:30.753 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.754 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.754 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
04:25:30.754 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "6"
}
> * print "testing xlinkurl: 0.000
04:25:30.754 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.754 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.754 [print] testing xlinkurl:6
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.755 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 6
04:25:30.755 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "2"
}
> * print "testing xlinkurl: 0.000
04:25:30.755 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.755 [print] testing xlinkurl:2
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.756 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 2
04:25:30.756 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.000
04:25:30.756 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.756 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.756 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:30.757 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
04:25:30.757 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.757
Scenario Outline Check dataset record in ngr voor e8b84fae-00b3-49c1-80c1-df8f69f64e8c
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.546
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:30.969 [print] title:EEZ volgens UNCLOS - Noordzee
* print title 0.000
04:25:30.969 [print] EEZ volgens UNCLOS - Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:30.972 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
]
* def id = "e8b84fae-00b3-49c1-80c1-df8f69f64e8c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.603
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c, response: 
04:25:31.576 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:30.975 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:30.976 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.287
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
}
> * print "testing xlinkurl: 0.000
04:25:31.265 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.265 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c, response: 
04:25:31.575 status code was: 500, expected: 200, response time: 309, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.069
Scenario Outline Check dataset record in ngr voor 002d9127-c16d-4b8d-9f5e-102a8c8e36c4
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.501
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:31.262 [print] title:Geluidkaart hoofdspoornet 2016 (Lnight)
* print title 0.004
04:25:31.266 [print] Geluidkaart hoofdspoornet 2016 (Lnight)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:31.268 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
]
* def id = "002d9127-c16d-4b8d-9f5e-102a8c8e36c4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.280
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 274, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4, response: 
04:25:31.549 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 274, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
}
> * print "testing xlinkurl: 0.000
04:25:31.273 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.274 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4
> Given url link 0.000
> When method HEAD 0.274
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 400, expected: 200, response time: 274, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4, response: 
04:25:31.549 status code was: 400, expected: 200, response time: 274, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.514
Scenario Outline Check dataset record in ngr voor 5c37d29a-006d-4136-8989-adfc35a1d4a7
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.497
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:31.613 [print] title:Wijk- en Buurtkaart 2019 versie 1
* print title 0.000
04:25:31.613 [print] Wijk- en Buurtkaart 2019 versie 1
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:31.616 [print] [
  ""
]
* def id = "5c37d29a-006d-4136-8989-adfc35a1d4a7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:31.624 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
04:25:31.621 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:31.622 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:31.623 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:31.623 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.932
Scenario Outline Check dataset record in ngr voor 6f84efeb-fc1d-4565-a721-80735ea57dbd
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.547
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.128 [print] title:Rijksmonumenten (verouderd)
* print title 0.000
04:25:32.128 [print] Rijksmonumenten (verouderd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:32.129 [print] [
  "http://services.rce.geovoorziening.nl/www/download/nl.xml",
  "",
  ""
]
* def id = "6f84efeb-fc1d-4565-a721-80735ea57dbd" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.191
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://services.rce.geovoorziening.nl/www/download/nl.xml}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.321 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://services.rce.geovoorziening.nl/www/download/nl.xml"
}
> * print "testing xlinkurl: 0.000
04:25:32.132 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.133 [print] testing xlinkurl:http://services.rce.geovoorziening.nl/www/download/nl.xml
> Given url link 0.000
> When method HEAD 0.182
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:32.316 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.317 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.317 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:32.318 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:32.318 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.319 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.320 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.320 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:32.321 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.799
Scenario Outline Check dataset record in ngr voor bb11be63-bd38-4632-bf54-df44c423a529
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bb11be63-bd38-4632-bf54-df44c423a529' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.559
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb11be63-bd38-4632-bf54-df44c423a529' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.188 [print] title:Territoriale Zee volgens UNCLOS - Noordzee
* print title 0.000
04:25:32.189 [print] Territoriale Zee volgens UNCLOS - Noordzee
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:32.190 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
]
* def id = "bb11be63-bd38-4632-bf54-df44c423a529" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.617
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529, response: 
04:25:32.810 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
04:25:32.194 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.195 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
}
> * print "testing xlinkurl: 0.000
04:25:32.489 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.490 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529
> Given url link 0.000
> When method HEAD 0.319
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529, response: 
04:25:32.809 status code was: 500, expected: 200, response time: 319, url: https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.597
Scenario Outline Check dataset record in ngr voor 4b282988-cb91-4bbc-b147-f653014917cb
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4b282988-cb91-4bbc-b147-f653014917cb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.506
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b282988-cb91-4bbc-b147-f653014917cb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.616 [print] title:Hydrografie
* print title 0.000
04:25:32.616 [print] Hydrografie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.001
* print nlinks 0.000
04:25:32.618 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
]
* def id = "4b282988-cb91-4bbc-b147-f653014917cb" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.043
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:32.663 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
}
> * print "testing xlinkurl: 0.000
04:25:32.623 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.623 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
> Given url link 0.000
> When method HEAD 0.039
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
04:25:32.663 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 39 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
04:25:32.663 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.754
Scenario Outline Check dataset record in ngr voor a322184d-6285-4856-bb78-f450b30ffc0e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.550
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.697 [print] title:Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* print title 0.000
04:25:32.697 [print] Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.001
04:25:32.700 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7",
  "www.hydro.nl",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a322184d-6285-4856-bb78-f450b30ffc0e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.599
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7}, {link=www.hydro.nl}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7, response: 
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:33.301 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.000
04:25:32.704 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.705 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.281
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7, response: 
04:25:32.987 status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.001
04:25:32.987 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 281, url: https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7, response: 
04:25:32.989 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.989 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.990 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
04:25:32.990 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
04:25:32.990 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.991 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.991 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.310
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 310, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response: 
04:25:33.301 status code was: 500, expected: 200, response time: 310, url: https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.318
Scenario Outline Check dataset record in ngr voor 50a2c5e6-c8e7-425d-854e-26f578196bc9
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.582
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.854 [print] title:Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* print title 0.000
04:25:32.854 [print] Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:32.855 [print] [
  "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
]
* def id = "50a2c5e6-c8e7-425d-854e-26f578196bc9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.367
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:33.224 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
}
> * print "testing xlinkurl: 0.000
04:25:32.862 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.862 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
04:25:33.224 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
04:25:33.224 http request failed: 
javax.net.ssl.SSLException: Connection reset
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.631
Scenario Outline Check dataset record in ngr voor 7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.589
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.017
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:32.932 [print] title:Luchtfoto 2018 25cm CIR open data
* print title 0.000
04:25:32.932 [print] Luchtfoto 2018 25cm CIR open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:32.935 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021",
  "",
  "",
  ""
]
* def id = "7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b021}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.948 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"
}
> * print "testing xlinkurl: 0.000
04:25:32.941 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.941 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:32.942 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
04:25:32.943 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:32.943 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:32.944 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.944 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.945 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:32.945 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:32.945 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.946 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.946 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.946 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:32.947 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:32.947 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.947 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:32.947 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:32.948 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:32.948 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.540
Scenario Outline Check dataset record in ngr voor 9ed6b8ed-254a-4745-a09a-3b57137d1b69
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.188 [print] title:Luchtfoto 2019 25cm CIR open data
* print title 0.000
04:25:33.188 [print] Luchtfoto 2019 25cm CIR open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.191 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024",
  "",
  "",
  ""
]
* def id = "9ed6b8ed-254a-4745-a09a-3b57137d1b69" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.006
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b024}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.200 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"
}
> * print "testing xlinkurl: 0.000
04:25:33.196 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.196 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.197 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
04:25:33.197 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.197 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.198 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.198 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.198 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.198 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.198 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.199 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.199 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.199 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.199 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.200 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.200 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.200 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.200 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.545
Scenario Outline Check dataset record in ngr voor 64ff8561-5c56-4cc1-ae0e-94366fb70b7e
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.518
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
04:25:33.333 [print] title:Luchtfoto 2019 25cm RGB open data
* print title 0.000
04:25:33.333 [print] Luchtfoto 2019 25cm RGB open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.335 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023",
  "",
  "",
  ""
]
* def id = "64ff8561-5c56-4cc1-ae0e-94366fb70b7e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b023}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.348 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"
}
> * print "testing xlinkurl: 0.000
04:25:33.339 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.339 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.339 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
04:25:33.339 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
04:25:33.340 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.342 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.342 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.342 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.342 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
04:25:33.343 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.345 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.345 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.346 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.346 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.347 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.347 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.347 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.348 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.348 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
1.656
Scenario Outline Check dataset record in ngr voor 71c2b7d2-a1a8-4836-b8d4-7247d331b04d
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.585
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.537 [print] title:CBS Provincies 2012
* print title 0.000
04:25:33.537 [print] CBS Provincies 2012
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.538 [print] [
  "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip",
  ""
]
* def id = "71c2b7d2-a1a8-4836-b8d4-7247d331b04d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.535
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:34.074 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip"
}
> * print "testing xlinkurl: 0.000
04:25:33.543 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.543 [print] testing xlinkurl:http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip
> Given url link 0.000
> When method HEAD 0.528
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:34.073 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.074 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:34.074 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:34.074 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
0.596
Scenario Outline Check dataset record in ngr voor df15af6e-0d21-4437-a69f-802be3479bba
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df15af6e-0d21-4437-a69f-802be3479bba' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.579
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df15af6e-0d21-4437-a69f-802be3479bba' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.681 [print] title:Luchtfoto 2016 25cm RGB open data
* print title 0.000
04:25:33.681 [print] Luchtfoto 2016 25cm RGB open data
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.683 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014",
  "",
  "",
  ""
]
* def id = "df15af6e-0d21-4437-a69f-802be3479bba" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b014}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.692 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"
}
> * print "testing xlinkurl: 0.000
04:25:33.688 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.688 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.689 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
04:25:33.689 http request failed: 
java.net.UnknownHostException: kadaster
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.689 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
04:25:33.690 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.690 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.690 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.690 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.690 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.691 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.691 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.691 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.691 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
04:25:33.691 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.691 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.691 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
04:25:33.692 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
04:25:33.692 http request failed: 
org.apache.http.client.ClientProtocolException
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.155
Scenario Outline Check dataset record in ngr voor krm-a905-9d8e-4758-83fa-28b057f185e3
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.505
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.709 [print] title:Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* print title 0.000
04:25:33.709 [print] Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.711 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e3" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.824
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:34.536 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
04:25:33.714 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.714 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.306
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:34.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.022 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:34.223 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:34.224 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:34.225 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.226 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.308
> Then status 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:34.534 status code was: 500, expected: 200, response time: 308, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
2.215
Scenario Outline Check dataset record in ngr voor krm-a905-9d8e-4758-83fa-28b057f185e4
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.565
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.793 [print] title:Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* print title 0.000
04:25:33.793 [print] Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
04:25:33.795 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e4" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.822
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 306, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:34.620 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 306, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4"
}
> * print "testing xlinkurl: 0.000
04:25:33.799 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.800 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4
> Given url link 0.000
> When method HEAD 0.309
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
04:25:34.111 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.111 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:34.312 status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
04:25:34.312 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 200, url: http://rdfdata.eionet.europa.eu/inspirethemes/themes/24, response: 
04:25:34.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.314 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.306
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 500, expected: 200, response time: 306, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response: 
04:25:34.620 status code was: 500, expected: 200, response time: 306, url: https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
3.986
Scenario Outline Check dataset record in ngr voor 280ed37a-b8d2-4ac5-8567-04d84fad3a41
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.515
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
04:25:33.822 [print] title:Natura 2000 (INSPIRE geharmoniseerd)
* print title 0.000
04:25:33.822 [print] Natura 2000 (INSPIRE geharmoniseerd)
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.003
* print nlinks 0.000
04:25:33.827 [print] [
  "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "280ed37a-b8d2-4ac5-8567-04d84fad3a41" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.732
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:69 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/ngr-check-dataset-record.feature
items: [{link=http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 386, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:35.560 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 386, url: https://data.overheid.nl/organisatie/PDOK, response:
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit"
}
> * print "testing xlinkurl: 0.001
04:25:33.831 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:33.832 [print] testing xlinkurl:http://standaarden.overheid.nl/owms/terms/Ministerie_van_Landbouw,_Natuur_en_Voedselkwaliteit
> Given url link 0.000
> When method HEAD 0.523
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41"
}
> * print "testing xlinkurl: 0.000
04:25:34.357 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.358 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41
> Given url link 0.000
> When method HEAD 0.215
> Then status 200 0.000
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
04:25:34.575 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.575 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.040
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:34.615 status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
04:25:34.616 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 39, url: https://creativecommons.org/publicdomain/mark/*/deed.nl, response: 
04:25:34.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
04:25:34.617 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 0.943
> Then status 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:15 - status code was: 404, expected: 200, response time: 386, url: https://data.overheid.nl/organisatie/PDOK, response: 
04:25:35.560 status code was: 404, expected: 200, response time: 386, url: https://data.overheid.nl/organisatie/PDOK, response:
> And match responseHeaders['Content-Type'][0] == '#string' 0.000
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '"' , 'target/surefire-reports/foundlink.csv') 0.000